Title |
Test
Find
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
|
Source |
|
Your Rating |
|