I just learned regular expressions and I created a dd-mm-yyyy date validator with regular expressions:
^(0[1-9]|[12][0-9]|3[01])([-/.])(0[1-9]|1[0-2])\2(19|20)\d\d$

It seems to work fine. But i was wondering if there are any improvements that could be made to make sure there will be no errors. Any suggestions?