RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find 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
Source 1:15 am
Your Rating
Bad Good

Enter New Comment

Title

Name

Comment

Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

Title: cacka
Name: garbage
Date: 8/23/2013 2:27:50 PM
Comment:
This is cacka. even a value of "sadkjdsjsad;ljas;lda;" gets through


Title: cacka
Name: garbage
Date: 8/23/2013 2:27:48 PM
Comment:
This is cacka. even a value of "sadkjdsjsad;ljas;lda;" gets through


Title: cacka
Name: garbage
Date: 8/23/2013 2:27:39 PM
Comment:
This is cacka. even a value of "sadkjdsjsad;ljas;lda;" gets through


Title: cacka
Name: garbage
Date: 8/23/2013 2:27:33 PM
Comment:
This is cacka. even a value of "sadkjdsjsad;ljas;lda;" gets through


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