I'm looking for a regular expression to test that a number is within a range (like between 1 and 3000). Does anyone know how to do this? I know how to see that they've entered in a 4-digit number, but not how to see that it isn't greater than 3000.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.