Skip to content

Instantly share code, notes, and snippets.

@mikeyb
Last active Aug 24, 2016
Embed
What would you like to do?
credit card samples for regex testing (should all be valid)
MasterCards
5100000000000004
2720000000000000
2710000000000000
2290000000000000
2229000000000000
Visa
4111111111111111
AMEX
370000000000000
340000000000000
Discover
65000000000000
64400000000000
60110000000000
JCB
352800000000000
3528000000000001
352900000000000
3529000000000001
353000000000000
3530000000000001
180000000000000
213100000000000
Diners Club
30000000000000
36000000000000
38000000000000
Maestro
5000000000000000000
501000000000
5018000000000000000
5600000000000000000
601300000000
6060000000000000000
621000000000
630400000000
6390000000000000000
670000000000
676000000000
6017000000000000000
677100000000
6790000000000000000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment