RE: [PHP] remove everything

2002-03-03 Thread Martin Towell
$output = ereg_replace("[^a-zA-Z0-9]", "", $output); (not tested - but should work) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, March 04, 2002 4:04 PM To: [EMAIL PROTECTED] Subject: [PHP] remove everything What is the code

[PHP] remove everything

2002-03-03 Thread Websitecd
What is the code to remove everything but numbers and letters from a string? $output = str_replace("","",$output); Regards, Joseph A. Bannon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php