Skip to content

Instantly share code, notes, and snippets.

@mikeyb
Last active August 24, 2016 17:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikeyb/32486c1b634ddf30c97a6771f4a09473 to your computer and use it in GitHub Desktop.
Save mikeyb/32486c1b634ddf30c97a6771f4a09473 to your computer and use it in GitHub Desktop.
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