I'm trying to create a JavaScript Regex to test for:
a valid # between 0 and 99.9 (where only a single decimal digit is allowed) e.g. 3.45 is not valid.
so, blank is ok, any integer between 0 and 99 is ok, and a decimal value is allowed.
I have this so far, but it is allowing values like 3.45
to pass:
$^|$[0-9][0-9]?^|$[0-9][0-9]?.[0-9]^