note 88895 deleted from function.preg-match by danbrown
| From: | danbrown@php.net | Date: | Thu, 12 Feb 2009 14:17:41 +0000 |
| Subject: | note 88895 deleted from function.preg-match by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-150572@lists.php.net to get a copy of this message | ||
Note Submitter: dirk nodot semper at panicplace dot com
----
I use this one for (german) mobile numbers. Don't know if it's perfect but it works pretty
well.
$pattern = '/^(\+49|0)1(6|7)([0-9])[\\/-]?([0-9]{7})$/i';