DaniWeb IT Discussion Community

Code Snippets (http://www.daniweb.com/code/)
-   perl (http://www.daniweb.com/code/perl.html)
-   -   Regular Expression for Date(dd/mm/yyyy format) (http://www.daniweb.com/code/snippet586.html)

kalyanraj perl syntax
Nov 7th, 2006
Regex to match the dd/mm/yyyy date format.

  1. (0[1-9]|[12][0-9]|3[01])[- /.](0[1-9]|1[012])[- /.](19|20)[0-9]{2}