Regex to only allow numbers under 10 digits?

前端 未结 7 1762
暖寄归人
暖寄归人 2020-12-16 22:06

I\'m trying to write a regex to verify that an input is a pure, positive whole number (up to 10 digits, but I\'m applying that logic elsewhere).

Right now, this is t

7条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-16 22:31

    check this site here you can learn JS Regular Expiration. How to create this?

    https://www.regextester.com/99401

提交回复
热议问题