Regex to validate numbers and forward slashes for date

NFS

New Member
Hi I am trying to wright Regular Expression for date mm/dd/yyyy C#.I have this\[code\]^(0[1-9]|1[012])[- /.](0[1-9]|[12][0-9]|3[01])[- /.](19|20)\d\d$\[/code\]But it doesn't work
ZuuPB.jpg
How to do so it will works with 3/1/2013 and with 03/01/2013
 
Back
Top