Regular Expression for numbers
Posted on 2006-11-30
My problem seems simple but the solution has evaded me so far. I want to validate that a number is in a set of possible numbers.
value = 22
possible values = (11,22,33,44)
Can anyone provide a regular expression that will validate 22 but not 2 or 222? Does that make sense?