Posted By

resurge on 05/26/09


Tagged

regex iban


Versions (?)

Who likes this?

5 people have marked this snippet as a favorite

Scooter
jadb
the_coder
Demian
Tyster


IBAN regex (all IBANs)


 / Published in: Regular Expression
 

  1. [a-zA-Z]{2}[0-9]{2}[a-zA-Z0-9]{4}[0-9]{7}([a-zA-Z0-9]?){0,16}

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: mcichon on April 23, 2015

Working great for most cases but not working for some account numbers from Kazachstan (KZ) and Romania (RO):

RO49AAAA1B31007593840000 KZ86125KZT5004100100

You need to login to post a comment.