Preg_match with Cyrillic doesn't work

blako

/((?:[a-zA-Z\p{Cyrillic}0-9]+))(#)(\\d+)/is That's what I recently tried but still doesn't work. I have no idea what else to try.

Toto

Just add the u modifier (for unicode) at the end of the regex:

/((?:[a-zA-Z\p{Cyrillic}0-9]+))(#)(\\d+)/isu
//                                 here ___^

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Preg_match with Cyrillic doesn't work

From Dev

Preg_match doesn't work right

From Dev

preg_match doesn't work in a script php but work online

From Dev

preg_match functions doesn't work properly

From Dev

Why doesn't this simple PHP preg_match() function work?

From Dev

Regexp for cyrillic word doesn't work in app

From Dev

Cyrillic doesn't work in Django on Linux

From Dev

Spring MVC: @PathVariable doesn't work with cyrillic

From Dev

PHP preg_match doesn't match

From Dev

PHP preg_match doesn't match

From Dev

PHP preg_match doesn't match list separated with commas

From Dev

preg_match not distinguish Latin and Cyrillic characters

From Dev

php preg_match - particular cyrillic chars

From Dev

The preg_match function doesn't accept the symbol "/"

From Dev

preg_match: check if it doesn't includes a word

From Dev

HTML form with windows cyrillic button's names doesn't work on OSX

From Dev

preg_match does not work

From Dev

preg_match for string not work

From Dev

php preg_match get word with cyrillic characters

From Dev

FOP doesn't show cyrillic characters

From Dev

Regex (preg_match in php) : last groups in the output array don't work correctly

From Dev

Regex (preg_match in php) : last groups in the output array don't work correctly

From Dev

preg_match doesn't behave as expected when validating windows filesystem path

From Dev

Why does preg_match doesn't find a string between tags when regex is OK?

From Dev

preg_replace with (.*) doesn't work

From Dev

preg_replace with (.*) doesn't work

From Dev

preg_replace() doesn't work

From Dev

Preg_match isn't working

From Dev

Jasper Reports PDF doesn't export cyrillic values

Related Related

HotTag

Archive