piighost/swift-bic

SWIFT business identifier code as ISO 9362 defines it: four letters of business party prefix, two letters of ISO 3166-1 country code, two alphanumerics of location code, then an optional three character branch code, so eight or eleven characters. The ISO TC68 note publishes ABCDBE22 as the code of a Belgian bank and ABCDBE22XYZ for a branch of the same party. Shape only, a BIC carries no check digit. The noise is ordinary capitals: any eight or eleven character run of upper case letters and digits fits, so shouted words, ticker lists and constant names in code all produce hits. Reproduced on the two ISO examples, no existing registry label fires alongside it.

Label: SWIFT_BIC

Pattern

(?<!\w)[A-Z]{4}[A-Z]{2}[A-Z0-9]{2}(?:[A-Z0-9]{3})?(?!\w)

Must be caught

Must be left alone

Tags: international, finance, banking

Download the detector as TOML