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


in reply to regexp problem

I suggest you take a look at POSIX::strptime.
it might give you more abilities and a cleaner way to do what you ask.

Enjoy,
Mickey