note 23795 added to function.ereg
| From: | imantr at cbn dot net dot id | Date: | Mon, 29 Jul 2002 06:26:37 +0000 |
| Subject: | note 23795 added to function.ereg | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-33847@lists.php.net to get a copy of this message | ||
I use the following expression
"^[0-9\/\(\)\-]+$"
to matching phone number such as
(62)-21-7777/888888
instead of
"^[0-9\-\/\(\)]+$"
The last one does not work correctly.
--
http://www.php.net/manual/en/function.ereg.php
http://master.php.net/manage/user-notes.php?action=edit+23795
http://master.php.net/manage/user-notes.php?action=delete+23795
http://master.php.net/manage/user-notes.php?action=reject+23795