Regex to match SWIFT-BIC codes

1 · John Cook · Jan. 29, 2024, 8:38 p.m.
A SWIFT-BIC number identifies a bank, not a particular bank account. The BIC part stands for Bank Identifier Code. I had to look up the structure of SWIFT-BIC codes recently, and here it is: Four letters to identify the bank Two letters to identify the country Two letters or digits to identify the location Optionally, […] The post Regex to match SWIFT-BIC codes first appeared on John D. Cook....