Hi, Have a look at: http://us2.php.net/manual/en/function.ereg-replace.php
That might do what you want. -Dan Joseph > What is a good function for striping white space and removing > \\..\.. and possible "," Anything that would be considered > unwanted user input??? > > I looked at trim() but its doesnt do all the things I need it to do. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php