I need pattern for input (type="text"! not number) when is available numbers from 1 to 72 and available 0.5 (1.5, 2, 2.5, 65.5 ect.)
I tried by
ng-pattern="'^(?:[1-9](\.[05]*)?)|(?:[1-6][0-9](\.[05]*)?)|(?:7[01](\.[05]*)?)|72$'"
But not work correctly for example "1111a" ect.
Can you help me? http://regexr.com/3dkks