Thread: Using regex
View Single Post
Old 07-20-2009, 03:32 AM   #3 (permalink)
EGYG33K
The Wanderer
 
EGYG33K's Avatar
 
Join Date: Jul 2009
Posts: 5
Thanks: 0
EGYG33K is on a distinguished road
Smile

PHP Code:
echo ereg_replace("[^[:alpha:],[:digit:],_,[:blank:]]","",'this is 123 $ *&^_ text test'); 
EGYG33K is offline  
Reply With Quote