Saeid Saeid - 5 months ago 23
C# Question

Regex for check the input string is just in persian language

I work with MVC and I am new on it. I want to check input values is only in Persian language (Characters) by

So I think to use Regex and need to check in range of unicodes, but I don't lnow how can find range of Persian characters Unicode. Am I right about this Regex? what is your suggestion and how can I find range of Unicode in Persian

Answer Source

Check first letter and last letter range in Persian I think something like this: