Consumer bank account numbers
Detects references to consumer bank account numbers in financial and compliance documents. Commonly found in international regulatory filings, transaction records, and audit documentation.
- Type
- regex
- Engine
- boost_regex
- Confidence
- medium
- Confidence justification
- identifier/document-structure anchored regex with constrained context replaces phrase-only detection. Added context gating and exclusion rules improve precision and reduce incidental matches.
- Detection quality
- Topic false positive
- Jurisdictions
- global
- Regulations
- GLBA
- Frameworks
- ISO 27001, ISO 27701, PCI-DSS, SOC 2
- Data categories
- financial
- Scope
- wide
- Risk rating
- 7
- 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((?:bank\s+)?account\s+(?:number|no\.?|#)[\s:#-]{0,20}\d{6,17})\b
Corroborative evidence keywords
consumer bank account numbers, consumer, bank, account, numbers, financial, accounts, payments, bank account, account number, account no, [object Object], routing number, sort code, IBAN, SWIFT, [object Object], file number, reference number, case number (+20 more)
Proximity: 300 characters
Should match
Account number: 12345678— Labelled account number with no banking context, 65 discovery onlyBank account no. 123456789012— Abbreviated label that names a bank account, 75account number 987654321— Label and value, 65 discovery onlyCredit union member payout - Account number: 20481736— Exact 75 probe, banking term beside the labelled valueTax Invoice - Account Number: 10458823 - EFT payments: BSB 064-000, quote your customer reference.— Bill with the biller BSB beside a customer account number, one banking term, 75 and not 85Bank details for refund - BSB 064-000, Account Number: 10458823— Exact 85 probe, two different banking termsBank account number: 10458823 BSB 064-000— Exact 85 probe, the bank account label and a BSB
Should not match
Council Rates Notice - Account Number: 10458823 - Amount due $512.40. Pay by direct debit from your bank account.— Rates customer account beside payment boilerplate must remain discovery-onlyMobile services invoice - Account holder: J Carrow - Account Number: 204817365— Account holder labels a telco customer, not a bank account, must remain discovery-only12345— Too short and unlabelledorder reference 88412— Numeric reference, no account labeltemplate example placeholder— Template/sample text
Known false positives
- Financial terminology appearing in published reports, accounting textbooks, regulatory guidance, or template documents without actual transaction data. Mitigation: Require corroborative evidence keywords within the proximity window. Cross-reference with structured financial identifiers to confirm actual sensitive data.
- In English (as the primary international business language), standard business terminology overlapping with financial detection keywords in routine correspondence and documentation. Mitigation: Increase confidence threshold when scanning business correspondence. Layer with transaction-specific patterns for higher precision.