Regular Expression Arabic characters and numbers only

后端 未结 11 983
梦毁少年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条回答
  •  萌比男神i
    2020-11-27 03:17

    you can use [ء-ي] it worked for me in javascript Jquery forme.validate rules

    for my example I want to force user to insert 3 characters

    [a-zA-Zء-ي]

提交回复
热议问题