Instead of using a regex to parse your dates, why not use one of the pre-built modules in CPAN for date parsing?
Date::Parse is the first that comes to mind. It is simple to use and will parse just about any common date format. This means that even if the date input changes, your code probably won't have to.
In reply to Re: simple regexp question
by thedoe
in thread simple regexp question
by jeanluca
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |