note 10771 added to ereg_replace
| From: | melmir at hotmail dot com | Date: | Sun, 21 Jan 2001 18:14:52 +0000 |
| Subject: | note 10771 added to ereg_replace | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-10046@lists.php.net to get a copy of this message | ||
if you want to extract all english alphanumeric symbols, just use:
$str = ereg_replace("[^[:alnum:]]","",$str);
http://www.php.net/manual/en/function.ereg-replace.php