Regex for check the input string is just in persian language

Persian characters are within the range: [\u0600-\u06FF]

Try:

Regex.IsMatch(value, @"^[\u0600-\u06FF]+$")

Leave a Comment