Displaying page
of
pages;
Items to
Title |
Test
Details
Canada postal code
|
Expression |
^[ABCEGHJKLMNPRSTVXYabceghjklmnprstvxy]{1}\d{1}[A-Za-z]{1}\d{1}[A-Za-z]{1}\d{1}$
|
Description |
Matches the Canadian postal code with no space between.
|
Matches |
M4S1G9 | m6p1l1 | m4s1G9
|
Non-Matches |
M4S 1G9 | m6p 1l1 | m4s 1G9
|
Author |
Rating:
Nassim Ghods
|
Title |
Test
Details
Time hh:mm am/pm
|
Expression |
^([0][1-9]|[1][0-2]):[0-5][0-9] {1}(AM|PM|am|pm)$
|
Description |
Matches if the string is in hh:mm am/pm format. Also the hour and minute values should have left padding 0's if they are single digit.
|
Matches |
03:45 am | 10:24 PM | 01:03 pm
|
Non-Matches |
8:15 am | 16:10 | 10:60 pm | 10:13
|
Author |
Rating:
Not yet rated.
Nassim Ghods
|
Displaying page
of
pages;
Items to