Regex number between 1 and 100
regex, string
Solution
Try:
^[1-9][0-9]?$|^100$
Working fiddle
EDIT: IF you want to match 00001, 00000099 try
^0*(?:[1-9][0-9]?|100)$
FIDDLE
Problem
I searched a lot and can't find the solution for this RegExp (I have to say I'm not very experienced in Reg. Expressions). ``` Regex = ^[1-9]?[0-9]{1}$|^100$ ``` I would like to test a number between 1 and 100, excluding 0