RE: [PHP] remove everything

From: Date: Mon, 04 Mar 2002 05:08:56 +0000
Subject: RE: [PHP] remove everything
Groups: php.general 
Request: Send a blank email to php-general+get-87034@lists.php.net to get a copy of this message
$output = ereg_replace("[^a-zA-Z0-9]", "", $output); (not tested - but should work) -----Original Message----- From: Websitecd@aol.com [mailto:Websitecd@aol.com] Sent: Monday, March 04, 2002 4:04 PM To: php-general@lists.php.net Subject: [PHP] remove everything 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

« previous php.general (#87034) next »