I'm not sure how to do this, I want to take out all characters in a string so that it's just all one word at the end ( so I can take that modified string and check it against a list ). Caps would be nice to if you can do that
Ex:
This string comes from a form
$unmodstring = Text_Full@of"spec"-chars.;
I can then set another variable equal to that to play with
$modstring = $unmodstring;
Then do the code that takes all that out
//I have this part down to strip tags and white spaces
$unmodstring = trim(strip_tags($unmodstring));
//not sure what to do here
The echo output of $modstring would be:
textfullofspecchars
Thanks a lot for all the help...
Donnie