in reply to
Regexp for range of numbers
Regexp::Assemble
shows
(?-xism:^(?:2(?:[6789]|5[012345]?|[01234]\d?)?|[3456789]\d?|1(?:\d\d?)?|0)$)
as the RegExp for your problem...
Comment on
Re: Regexp for range of numbers
Download
Code
In Section
Seekers of Perl Wisdom