note 105253 deleted from function.preg-match by danbrown
| From: | danbrown@php.net | Date: | Fri, 05 Aug 2011 14:48:36 +0000 |
| Subject: | note 105253 deleted from function.preg-match by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-182252@lists.php.net to get a copy of this message | ||
Note Submitter: itworkarounds at yahoo dot com
----
Here you can find an explanation how to validate Cyrilic alphanumeric strings:
http://itworkarounds.blogspot.com/2011/08/validating
the pattern is:
/^[a-zA-Z\p{Cyrillic}\d\s\-]+$/u
see the link for more usage and explanation.