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 4
Title Test Details Validate Traditional Time Formats
Expression
^(1[0-2]|0?[1-9]):([0-5]?[0-9])( AM| PM)$
Description
You want to validate times in various traditional time formats, such as hh:mm tt 12-hour formats.
Matches
12:45 AM|2:30 PM
Non-Matches
12:45AM|2:30PM
Author Rating: Not yet rated. Bheemsen Singh
Title Test Details Validate Traditional Time Formats Hours, minutes and seconds, 24-hour clock:
Expression
^(2[0-3]|[01]?[0-9]):([0-5]?[0-9]):([0-5]?[0-9])$
Description
Validate Traditional Time Formats Hours, minutes and seconds, 24-hour clock:
Matches
09:45:12|19:05:12
Non-Matches
07:35 AM
Author Rating: Not yet rated. Bheemsen Singh
Title Test Details Matching 3 Digits Number :0..999: ^([0-9]|[1-9][0-9]|[1-9][0-9][0-9])$
Expression
^([0-9]|[1-9][0-9]|[1-9][0-9][0-9])$
Description
Matching 3 Digits Number :0..999: ^([0-9]|[1-9][0-9]|[1-9][0-9][0-9])$ 0 to 999
Matches
0,152,356,999
Non-Matches
-0,12553,-56
Author Rating: Not yet rated. Bheemsen Singh
Title Test Details Validation IP4
Expression
^([01][0-9][0-9]|2[0-4][0-9]|25[0-5].[01][0-9][0-9]|2[0-4][0-9]|25[0-5].[01][0-9][0-9]|2[0-4][0-9]|25[0-5].[01][0-9][0-9]|2[0-4][0-9]|25[0-5])$
Description
Validation IP Address Version 4
Matches
127.0.0.1,255.255.0.0
Non-Matches
.235.23,255.255.255.255.56.
Author Rating: Not yet rated. Bheemsen Singh
   Displaying page 1 of 1 pages; Items 1 to 4

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