in reply to How to split an inconsistent time range into two consistent times?

What have you tried? What do you need to do after extracting the values? Your question looks like it is very tightly focused on one small part of a problem.

A regular expression (see perlre and perlretut) could be part of the answer, but if you intend to manipulate the times in some fashion after extracting them you may find one of the many Date/Time modules (such as Date::Manip) are worth investigating.


True laziness is hard work
  • Comment on Re: How to split an inconsistent time range into two consistent times?