I need to replace all NON alpha-numeric characters in a string. Example: input: "-What's Up Doc?" output: "WhatsUpDoc"
I received this in a previous post, but it doesn't work:
$str = ereg_replace("/[^[:alnum:]]/i", '', $str);
Thanks!
Shawn
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

