Displaying page
of
pages;
Items to
Title |
Test
Details
CVV2/CVC2/CID
|
Expression |
^(?!000)\d{3,4}$
|
Description |
This is a bit shorter than the first CVV2/CVC2/CID regex found on the site. It matches any 3 or 4 character number.
Now featuring change per suggestion in comments. Thanks!
|
Matches |
123 | 1234
|
Non-Matches |
1 | 12 | 12345
|
Author |
Rating:
Tony Fugere
|
Title |
Test
Details
AMEX, Discover, MC, Visa
|
Expression |
^((4(\d{12}|\d{15}))|(5\d{15})|(6011\d{12})|(3(4|7)\d{13}))$
|
Description |
Matches Visa, American Express, Discover, and Mastercard only.
|
Matches |
4111111111111 | 4111111111111111 | 5111111111111111 | 6011111111111111 | 341111111111111 | 371111111111111
|
Non-Matches |
411111111111 | 51111111111111111 | 6111111111111111 | 321111111111111 | 381111111111111
|
Author |
Rating:
Tony Fugere
|
Displaying page
of
pages;
Items to