note 105255 added to function.preg-match
| From: | itworkarounds at yahoo dot com | Date: | Fri, 05 Aug 2011 07:40:47 +0000 |
| Subject: | note 105255 added to function.preg-match | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-182245@lists.php.net to get a copy of this message | ||
Here you can find an explanation how to validate Cyrillic alphanumeric strings:
http://itworkarounds.blogspot.com/2011/08/validating-cyrillic-utf8-alphanumeric.html
the pattern is:
/^[a-zA-Z\p{Cyrillic}\d\s\-]+$/u
see the link for more usage and explanation.
----
Server IP: 69.147.83.197
Probable Submitter: 80.77.144.66
----
Manual Page -- http://www.php.net/manual/en/function.preg-match.php
Edit -- https://master.php.net/note/edit/105255
Del: integrated -- https://master.php.net/note/delete/105255/integrated
Del: useless -- https://master.php.net/note/delete/105255/useless
Del: bad code -- https://master.php.net/note/delete/105255/bad+code
Del: spam -- https://master.php.net/note/delete/105255/spam
Del: non-english -- https://master.php.net/note/delete/105255/non-english
Del: in docs -- https://master.php.net/note/delete/105255/in+docs
Del: other reasons-- https://master.php.net/note/delete/105255
Reject -- https://master.php.net/note/reject/105255
Search -- https://master.php.net/manage/user-notes.php