in reply to Looking for a flexible regex...

You probably also need a test to verify that the ranges are valid as well as the format.
Bill