advanced code snippet search
Tate on 03/18/08
5 people have marked this snippet as a favorite
$string = "This is some text and numbers 12345 and symbols !£$%^&";$new_string = ereg_replace("[^A-Za-z0-9]", "", $string);echo $new_string
Report this snippet
You need to login to post a comment.