C#(ASP.NET) Validate date entry
How we config the Regular Expression Validator to be able validate a date format dd/mm/yyyy ? what is the expression we should added in?
I used this expression ^\d{1,2}\/\d{1,2}\/\d{4}$ but this expression is not good enough because it will accept the format in 99/99/9999, how to improve it to validate each the entry of day, month and year.
Thanks.
Goh Hoang Yuh
- C# Beginner in ASP.NET
|