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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Validate Date Format
Expression
\b(0?[1-9]|1[0-2])(\/)(0?[1-9]|1[0-9]|2[0-9]|3[0-1])(\/)(0[0-8])\b
Description
Matches the valid date format MM/DD/YY Year from 2000 (00) to 2008 (08) and the month will accept till 12 and the day will accept till 31
Matches
01/02/06 | 12/31/07 | 1/1/08
Non-Matches
01/02/1999 | 13/32/08 | 01-31-2008
Author Rating: Not yet rated. Ajesh Kumar CM
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

Title: validate date format?
Name: cuong lv
Date: 6/24/2008 11:25:04 AM
Comment:
i need code validate date format ?


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