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 MM/DD/YYYY
Expression
^(?:(?:(?:0?[13578]|1[02])(\/|-)31)|(?:(?:0?[1,3-9]|1[0-2])(\/|-)(?:29|30)))(\/|-)(?:[1-9]\d\d\d|\d[1-9]\d\d|\d\d[1-9]\d|\d\d\d[1-9])$|^(?:(?:0?[1-9]|1[0-2])(\/|-)(?:0?[1-9]|1\d|2[0-8]))(\/|-)(?:[1-9]\d\d\d|\d[1-9]\d\d|\d\d[1-9]\d|\d\d\d[1-9])$|^(0?2(\/|-)29)(\/|-)(?:(?:0[48]00|[13579][26]00|[2468][048]00)|(?:\d\d)?(?:0[48]|[2468][048]|[13579][26]))$
Description
This expression validates dates in the mm/dd/yyyy format and ya..expression will take care of the leap year dates
Matches
01/01/1901, 10/31/2007
Non-Matches
02/31/1901, 04/31/2007
Author Rating: The rating for this expression. shrinidhi
Title Test Details [email protected]
Expression
\d{10,12}@[a-zA-Z].[a-zA-Z].*
Description
This is a basic/simple expression i have come out to check 10digit mobile number and then any valid email ....
Matches
Non-Matches
[email protected], 3605551212@mobile
Author Rating: Not yet rated. shrinidhi
   Displaying page 1 of 1 pages; Items 1 to 2

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