I cannot make the following line of code work:
$newstring = ereg_replace('~`!@#\$%^&*()_+-={}[]|\\:;"\'<,>.\?/' ,"",$text);
I'm attempting to remove any of those characters and not leave a space. If I code each as a separate line of code it works.
Any help is much appreciated!!
Len