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
Engine
universal
Confidence
high
Confidence justification
High confidence: structurally constrained pattern with corroborative keyword support reduces false positive rates significantly. Added context gating and exclusion rules improve precision and reduce incidental matches.
Detection quality
Verified
Jurisdictions
global
Regulations
PSD2
Frameworks
ISO 27001, ISO 27701, PCI-DSS, SOC 2
Data categories
financial
Scope
narrow
Risk rating
4
Platform compatibility
Purview: Compatible, GCP DLP: Compatible, Macie: Compatible, Zscaler: Compatible, CrowdStrike DLP: Compatible, Palo Alto: Adapted from Purview, Netskope: Adapted from Purview

Pattern

(?-i)(\b[A-Z]{6}[A-Z0-9]{2}[A-Z0-9]{3}\b|\b[A-Z]{6}[A-Z0-9]{2}\b)

Corroborative evidence keywords

bank account, account number, account no, BSB, routing number, sort code, IBAN, SWIFT, BIC, [object Object], [object Object], data record, database record, record set, data extract, data export, database table, spreadsheet, data registry, registry entry (+14 more)

Proximity: 300 characters

Should match

Should not match

Known false positives

References

Collections