Displaying page
of
pages;
Items to
Title |
Test
Details
Pattern Title
|
Expression |
^((?:4\d{3})|(?:5[1-5]\d{2})|(?:6011)|(?:3[68]\d{2})|(?:30[012345]\d))[ -]?(\d{4})[ -]?(\d{4})[ -]?(\d{4}|3[4,7]\d{13})$
|
Description |
This just a minor mod to Steven Smith's credit card re to accept spaces as separators, as well as return the four parts of the card. [Updated Oct-18-2002 to work with Diners Club/Carte Blanche (prefix must be 36, 38, or 300-305)]
|
Matches |
6011567812345678 | 6011 5678 1234 5678 | 6011-5678-1234-5678
|
Non-Matches |
1234567890123456
|
Author |
Rating:
Glenn Carr
|
Displaying page
of
pages;
Items to