A regular expression that can be used to match and validate Persian characters in a string.
/^[\u0600-\u06FF\uFB8A\u067E\u0686\u06AF\u200C\u200F]+$/g
Matches:
- ٷ
- ۹
- د
Non-matches:
- a
- 1
- A
See Also:
- Special Characters Regular Expression
- Regular Expression To Match Chinese Characters
- Regular Expressions To Match Common Special Characters (Unicode Symbols)
- Regular Expression To Match Russian Cyrillic 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