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.
In Section
Seekers of Perl Wisdom