note 10131 added to ereg_replace
| From: | wloche at businessdecision dot com | Date: | Thu, 14 Dec 2000 21:46:56 +0000 |
| Subject: | note 10131 added to ereg_replace | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-8742@lists.php.net to get a copy of this message | ||
Just to complete the case of the phone number which could imply a '+' sign :
$this->numero = ereg_replace("[^[:digit:]\+]","",$telephone);
http://www.php.net/manual/function.ereg-replace.php