Why does preg_replace("^\W^","",$str); not remove undescores _ ? Are they alpha-numeric?
I had to do this preg_replace("^\W|_^","",$str); TIA, Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php