Regular Expression for minimum value 18 and maximum 99 with leading zero. Means my number should be from 18 to 99. With one condition of leading zero i.e 18 == 018, 99 == 099
Try this it will help you
Less than 18 and greater than 99 is not allowed
^(1[89]|[2-9][0-9])$