http://www.perlmonks.org?node_id=1041224


in reply to regular expression

If you literally translate two numbers before and after the "-" into a regex, taking into account that a number is a string of digits (\d) and use (...) capture groups, then you have it already.