Hi,
I need to validate the below range via regex in javascript.
-20.00 to +20.00 with an increment of 0.5.
The user should be able to enter the 1.50 as well instead of +01.50.
I tried to do a lot of research in google, though regex is not easy. If I understand it correctly, then I will need to split up the regex into smaller groups. From a programmers view, I would think, that I need to validate each "char" that was keyed into the input field. If I understand how grouping works in regex then I guess I could do the regex myself. So please help me to understand regex with the above problem, don't just throw the regex in :)
Thanks,