I need to validate some user input, to ensure a number entered is in the range of 1-99 inclusive. These must be whole (Integer) values
Preceeding 0 is permitted, but opt
This one worked for myself:
([1-9][0-9])|(0?[1-9])
It checks for 10-99 or 1-9 => 1-99 with one leading zero allowed