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 Simple Time
Expression
^\s*(?i:)((1[0-2])|(0[1-9])|([123456789])):(([0-5][0-9])|([123456789]))\s(am|pm)\s*$
Description
matches simple time 12 hours 59 minutes (am or pm) format
Matches
1:15 am | 1:20 pm | 12:55 Pm
Non-Matches
+ 11:15 | 00:00:00 | am 12:14
Author Rating: The rating for this expression. Naji mohamad
   Displaying page 1 of 1 pages; Items 1 to 1

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