Does anyone know how I can use an ereg_replace or preg_replace to return a value that's only alpha numberic, but ALSO stil return it w/ the spaces? For example, if the name of my product is: Joe's Special Parts
This function: preg_replace( '/[a-z|0-9]/i', '', $prd['prd_titl'])
Will return this: JoesSpecialParts
So how could I modify that to retain the spaces?