Validate date format

A

Ana Rita

I'm trying to validate a date format (DD/MM/YYYY) with a
RegularExpressionValidator. In the ValidationExpression i
put this: ^((0[1-9])|([10-31]))\/((0[1-9])|(1[0-2]))\/(\d
{4})$.

If i put in the textbox this value 32-24-2003, the control
doesn't validate the input.

I also want to validade a number with this format (99.00)
How can i do this?

Thank you.

best wishes.

Ana Rita
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top