How to check bigger than or smaller than a number by regex?

nandux

New Member
I have a Drupal module which allow regex check of a text field. To check a valid birth year of 4+ years old, the valid range is year 1900 to 2006.So assume the input string must be 4-char long. What's the regex to check the string is in that range? Thanks!
 
Back
Top