Answers for "regex for only numbers and negative sign"

3

regex pattern for positive numbers only

^[1-9]+[0-9]*$
Posted by: Guest on March-30-2021

Code answers related to "regex for only numbers and negative sign"

Browse Popular Code Answers by Language