Regex for check the input string is just in persian language

后端 未结 6 845
执笔经年
执笔经年 2020-12-02 15:27

I work with MVC and I am new on it. I want to check input values is only in Persian language (Characters) by [RegularExpression] Validation. So I think to use

6条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-02 16:18

    I use this RegExp in my program, and it works correctly. hope to help you:

     [پچجحخهعغفقثصضشسیبلاتنمکگوئدذرزطظژؤآإأءًٌٍَُِّ\s]+$
    

提交回复
热议问题