Sunday, 2 September 2012

Regular Expression for date validation

For the format dd/mm/yyyy:

ValidationExpression="^(0[1-9]|[12][0-9]|3[01])[- /.](0[1-9]|1[012])[- /.](19|20)\d\d$"

No comments:

Post a Comment