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

Please support RegExLib Sponsors

Sponsors

Expressions by User

   Displaying page 1 of 1 pages; Items 1 to 1
Title Test Details Date-MM/DD/YYYY MONTH/DATE/YEAR
Expression
^((0[1-9])|(1[0-2]))\/((0[1-9])|(1[0-9])|(2[0-9])|(3[0-1]))\/(\d{4})$
Description
This regular expressions matches dates in the format MM/DD/YYYY where MM can be 01 to 12, DD can be 01 to 31 and YYYY is always 4 digits long.
Matches
12/25/2007 | 11/07/1517 | 02/25/2727
Non-Matches
1/27/1977 | 00/01/000 | 15/07/2002
Author Rating: The rating for this expression. Ravi Nandan Vaish
   Displaying page 1 of 1 pages; Items 1 to 1

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