Displaying page
of
pages;
Items to
Title |
Test
Details
Date in MMYYYY format
|
Expression |
(((0[123456789]|10|11|12)(([1][9][0-9][0-9])|([2][0-9][0-9][0-9]))))
|
Description |
Validates dates that are in month/year (MMYYYY) format without slashes, periods, dashes, or spaces. No special characters or letters allowed. MM values allowed are 01 thru 12. YYYY values allowed are 1900 - 2999.
This is an adaptation of Felipe Albacete's MM/YYYY regular expression.
|
Matches |
052000 | 122008 | 101972 | 041903
|
Non-Matches |
12/2003 | 131997 | 51988 | 111899 | 04.2004 | 10-1965
|
Author |
Rating:
Not yet rated.
LaShandra Knox
|
Title |
Test
Details
10-digit nbr w/2 decimal places
|
Expression |
(?!^0*\.0*$)^\d{1,10}(\.\d{1,2})?$
|
Description |
1 to 10 digits are allowed before the decimal. 1 to 2 digits are allowed after decimal. Zero is allowed. Whole numbers allowed.
|
Matches |
0 | 2.50 | 9999999999.99 | 1.1
|
Non-Matches |
.50 | 999999999999 | 1000000.369
|
Author |
Rating:
Not yet rated.
LaShandra Knox
|
Displaying page
of
pages;
Items to