iban
iban
¶
The IBAN patterns are based on the IBAN specification here: https://en.wikipedia.org/wiki/International_Bank_Account_Number In addition, an IBAN example per country can be found here: git shttps://www.xe.com/ibancalculator/countrylist An IBAN checker is available here: https://www.iban.com/iban-checker
See https://github.com/microsoft/presidio/blob/master/presidio-analyzer/presidio_analyzer/predefined_recognizers/iban_recognizer.py # noqa¶
under MIT license.¶
Classes:
| Name | Description |
|---|---|
IBAN |
IBAN regex pattern matcher based on |
IBAN()
¶
Bases: RegexPredictor
IBAN regex pattern matcher based on https://docs.microsoft.com/en-us/exchange/policy-and-compliance/data-loss-prevention/sensitive-information-types?view=exchserver-2019#international-banking-account-number-iban and https://en.wikipedia.org/wiki/International_Bank_Account_Number
Validation includes checking for proper country code and checksum.
Examples:
{"iban": "GB84INXK12376708278490"} {"bank": "GB11DHPG65218326145843"}