Revision: 5598
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at March 18, 2008 10:05 by Tate
Initial Code
$string = "This is some text and numbers 12345 and symbols !£$%^&"; $new_string = ereg_replace("[^A-Za-z0-9]", "", $string); echo $new_string
Initial URL
Initial Description
Initial Title
Remove any characters that are not numbers or letters
Initial Tags
Initial Language
PHP