in reply to How to check if a date exists ?
This post may be helpful. It does use simple regular expressions but only to validate the input.
Cheers,
JohnGG