Regular Expression for text field of type number to accept only positive integers and should not accept characters,negative numbers and decimals

后端 未结 0 1879
执念已碎
执念已碎 2021-01-19 13:01

I have written a regex for the input text field of type number which only positive integers and should not accept characters, negative numbers and decimals.

The regex

相关标签:
回答
  • 消灭零回复
提交回复
热议问题