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 3
Title Test Details USA Phone Number
Expression
^((([+])?[1])?\s{0,1}\d{3}\s{0,1}\d{3}\s{0,1}\d{4})$
Description
Support 13 Formats (Country Code 1)
Matches
+1 222 333 4444 | +1 2223334444 | 222 333 4444 | 222333 4444 | 222 3334444 | +1222333 4444 | +1222 3334444 | +1 222 3334444 | 1 222 333 4444 | 1 2223334444 | 1222333 4444 | 1222 3334444 | 1 222 3334444
Non-Matches
122233344445 | +1 2222 3333 44444 | +1 22 33 444 | +0 222 333 4444
Author Rating: Not yet rated. Ramesh Sivaperumal
Title Test Details Time with AM/PM
Expression
^([0]?[1-9]|[1][0-2]):([0-5][0-9]|[1-9]) [aApP][mM]$
Description
Allow Time with AM/PM
Matches
12:15 AM/am | 12:15 PM/pm
Non-Matches
12:60 AM/PM | 13:00AM/PM
Author Rating: Not yet rated. Ramesh Sivaperumal
Title Test Details Railway Time(24 Hours)
Expression
^([0]?[1-9]|[1][0-2]|[2][0-3]):([0-5][0-9]|[1-9])$
Description
Allow 24 hrs time format
Matches
00:01 | 23:59
Non-Matches
24:02 | 20:62 | 24:00
Author Rating: Not yet rated. Ramesh Sivaperumal
   Displaying page 1 of 1 pages; Items 1 to 3

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