Hello guys,
I have the option to use a regex to validate some values and I would like to know the best way to do it.
I have several ranges (not in the same regex/validation) such as 1-9 (this is easy :P), and:
1-99 1-999 1-9999
Also, I need to check for leading zeros, so, 0432 is a possible match.
Any ideas?
I know that Regex might not be the best approach for this, but it's what I have, and it's part of a framework I have to use.
Tahnks