Look into the CPAN module Date::Calc.
You can also look in the Q&A section under 'dates and times' for more handy ideas. As you can probably see by now, a regex is unlikely to take care of this problem for you.
--In reply to Re: Week Algorithm
by edan
in thread Week Algorithm
by rupesh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |