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 2
Title Test Details Pattern Title
Expression
^(((((0[1-9])|(1\d)|(2[0-8]))\/((0[1-9])|(1[0-2])))|((31\/((0[13578])|(1[02])))|((29|30)\/((0[1,3-9])|(1[0-2])))))\/((20[0-9][0-9])|(19[0-9][0-9])))|((29\/02\/(19|20)(([02468][048])|([13579][26]))))$
Description
matches a date in dd/mm/yyyy format
Matches
01/01/2001 | 29/02/2004
Non-Matches
32/12/2001 | 29/02/2005 | 05/13/2005
Author Rating: Not yet rated. Lucian Toza
Title Test Details Pattern Title
Expression
^(0|(-?(((0|[1-9]\d*)\.\d+)|([1-9]\d*))))$
Description
matches a double number
Matches
-0.5 | 0.01 | 15
Non-Matches
01 | 0.2.2 | +5
Author Rating: Not yet rated. Lucian Toza
   Displaying page 1 of 1 pages; Items 1 to 2

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