Regular Expression for arabic numbers

后端 未结 3 1330
情话喂你
情话喂你 2020-12-31 07:44

I have this form that has a validation JQuery function, I have a problem with the telephone field, all I want is for the users to enter numbers only ... Its working great on

3条回答
  •  耶瑟儿~
    2020-12-31 08:20

    You can use [^[:digit:]].

    This will return any digit no matter which language including mixed languages

提交回复
热议问题