I do have the following RegExp in the current web application.
function myCyrillicDigitsAndSpaceValidator(text){
return XRegExp("^[\\p{Cyrillic}0-9]+").test(text);
}
As you can see I use XRegExp javasciprt library. Currently, this regxep checks if its cyrillic+has space+has numbers. I want to extend it and to check:
It's Cyrillic
It does have space
It does have numbers
It does have special chars
XregxExp version is 2.0.0 if it does matter
Correct examples:
1 Май
-
Май 25\5