PCI-DSS Card Data

Payment card and financial instrument detection patterns for PCI-DSS compliance. Covers all major card networks, IBAN, and SWIFT/BIC codes.

Jurisdictions
global
Frameworks
PCI-DSS
Patterns
4

Patterns in this collection

European Debit Card Number

Detects European debit and credit card numbers for Visa, Mastercard, and American Express networks. The pattern matches 13- to 16-digit card numbers based on the leading digits assigned to each network by the ISO/IEC 7812 standard. This is commonly used for PCI-DSS compliance scanning across EU-regulated financial data.

Type
regex
Confidence
medium

International Bank Account Number (IBAN)

Detects International Bank Account Numbers (IBANs) used across European and global banking systems. IBANs consist of a two-letter country code, two check digits, and up to 30 alphanumeric characters representing the domestic bank account number. This pattern matches IBANs with or without space or hyphen delimiters between digit groups.

Type
regex
Confidence
medium

Payment Card PAN

Identifies payment card Primary Account Numbers (PANs) for Visa, Mastercard (including 2-series BINs), American Express, Discover, JCB, Diners Club and UnionPay, in contiguous and space/hyphen-separated forms, with AllDigitsSameFilter and card-context tiers.

Type
regex
Confidence
medium

SWIFT BIC

Detects ISO 9362 SWIFT Business Identifier Codes (BICs), the 8- or 11-character bank and branch codes used to route international payments. SWIFT/BIC or banking context lifts a match to 85. TestPattern's own detection logic: the Microsoft Purview built-in SWIFT Code is catalogued separately as global-swift-bic-builtin.

Type
regex
Confidence
high