Regular Expression Arabic characters and numbers only

后端 未结 11 1001
梦毁少年i
梦毁少年i 2020-11-27 02:44

I want Regular Expression to accept only Arabic characters, Spaces and Numbers.

Numbers are not required to be in

11条回答
  •  臣服心动
    2020-11-27 03:24

    The posts above include much more than arabic (MSA) characters, it includes persian, urdu, quranic symbols, and some other symbols. The arabic MSA characters are only (see Arabic Unicode)

    [\u0621-\u063A\u0641-\u0652] 
    

提交回复
热议问题