Menu
I am trying to make some preg rules to match credit card bin ranges.
Is there an easy way to format a match on any number between 11 and 55 including 11 and 55 themselves?
[code]
[1-5][1-5] // this would not match 10 or 16
[1-5][0-9] // this would match 10 and 56
[11-55] // I think this matches 1 followed by 1-5 followed by 5?
All of the above are incorrect and any advice would be great.
Cheers.