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 Modern Date (MM/DD/YYYY) (USA Format)
Expression
^(0?[1-9]|1[012])[- /.](0?[1-9]|[12][0-9]|3[01])[- /.](19|20)\d\d$
Description
Date in MM/DD/YYYY (USA Format). Allows for 1 or 2 digit month and day. Requires 4 digit year between 1900-2999. Allows for dash, slash, period or space for separators.
Matches
01/02/2015 | 5-7-1915 | 12.8.2035 | 7 15 1963
Non-Matches
11-11-1845 | 31/12/2000 | 10-17-85
Author Rating: The rating for this expression. Jordan Cleigh
   Displaying page 1 of 1 pages; Items 1 to 1

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