This is a short Python 3 script that uses regular expressions to validate credit card numbers as a solution to the problem presented at:
https://www.hackerrank.com/challenges/validating-credit-card-number/problem
It uses the cc-list.txt file (also in this repo) as sample input.