I'll admit I'm rubbish at regular expressions and find some of the tools out there that are supposed to make generating them easier painfully difficult to use. That's my fault granted.. anyway..
Can anyone come up with a single regular expression that will allow both dd/MM/yyyy and/or dd/MM/yyyy hh:mm:ss
Yes, I've Googled for it and searched regexlib.
It would be much appreciated.
Cheers in advance.
UPDATE :
Guys, I obviously considered server side parsing.. I am asking specifically for a regex. I may still fall back on this.
I have also looked at lots of online material including sites that a quick Google brings up, so please don't submit obvious sites as i've tried them and resorted to asking the question here.
UPDATE :
Guys, I'm leaning towards doing it via server side date parsing.. But I would still be curious what the regex would be.