RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Date format
Expression
^([0-2]\d|3[0-1]|[1-9])\/(0\d|1[0-2]|[1-9])\/(\d{4})$
Description
Validate a date format: d/m/Y. See examples.
Matches
1/05/1990 | 01/1/2006 | 01/01/2008 | 5/5/2009 | 1/1/1990 | 29/05/2009
Non-Matches
01/01/90 | 32/02/2009 | 1/13/1990 | 0/0/2009
Author Rating: The rating for this expression. Thaynã B. Moretti
Source
Your Rating
Bad Good

Enter New Comment

Title

Name

Comment

Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

Copyright © 2001-2025, RegexAdvice.com | ASP.NET Tutorials