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]?[1-9])|(1[0-9])|(2[0-9])|(3[01]))-(([0]?[0-9])|(1[0-2]))-\d{4}$
Description
Matches any date in the format DD-MM-YYYY
Matches
01-01-0101 1-1-0101 1-11-0101 12-03-0101 31-03-2019
Non-Matches
00 00-0 00-00-0000 00-00-00 00/00/0000 00/0 00 -- --- 01/01/0101 1/1/1111
Author Rating: Not yet rated. Cyber Gurken
   Displaying page 1 of 1 pages; Items 1 to 1

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