Regular Expression for minimum value 18 and maximum 99 with leading zero
angularjs, javascript, ng-pattern, regex
Solution
Try this it will help you
Less than 18 and greater than 99 is not allowed
^(1[89]|[2-9][0-9])$
Problem
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