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
Expression
^(0?\d|1[012])\/([012]?\d|3[01])\/(\d{2}|\d{4})$
Description
This is the US date expression. It's very flexible on omitting numbers. $1 = month $2 = day $3 = year
Matches
1/1/10 , 12/12/2010, 01/01/2010
Non-Matches
1JAN10
Author Rating: Not yet rated. Dusko Vuksanovic
   Displaying page 1 of 1 pages; Items 1 to 1

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