A regular expression that can be used to match and validate Russian Cyrillic alphabet characters.
/[\u0401\u0451\u0410-\u044f]/g
Matches:
- Привет мир
- Россия
- Москва
Non-matches:
- Hello World
- Russia
- Moscow
Bonus:
If you’re looking for a regular expression to match Cyrillic alphabets with English alphabets, use the following Regex instead:
/^[A-Za-z.!@?#"$%&:;() *\+,\/;\-=[\\\]\^_{|}<>\u0400-\u04FF]*$/g
See Also:
- Regular Expression To Match Consecutive Alphabetic Characters
- Regular Expression To Match Accented Characters
- Regular Expression To Match Chinese Characters
- Regular Expression To Match Persian Characters
- Regular Expression To Match Arabic Characters
- Regular Expression To Match Accented Characters
- Regular Expression To Match Hebrew And English Characters
- Regular Expression To Match All Greek & Latin Characters