Answers for "regex only for numbers"

3

regex pattern for positive numbers only

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

regex for numbers

Regex regex = new Regex(@"^\d$");
Posted by: Guest on November-14-2020

Code answers related to "regex only for numbers"

Browse Popular Code Answers by Language