TL;DR
Regex and Luhn checks confirm a card looks valid. They do not confirm it is valid or accepted by your processor.
The Bank Identification Number (BIN), also called the Issuer Identification Number (IIN), encodes the card brand, funding type, issuer country, and category before you ever send a single auth request.
Querying a BIN API at...
🛡️ VERIFIED CYBER INTELLIGENCE ID: #3347008