Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
[a-zA-Z]{2}[0-9]{2}[\s*]{0,}[0-9]{4}[\s*]{0,}[0-9]{4}[\s*]{0,}[0-9]{4}[\s*]{0,}[0-9]{4}[\s*]{0,}[0-9]{4}[\s*]{0,}
/

Description

IBAN SPAIN WITH SPACES.

ES12 1234 4567 8975 4662 (THIS IS AN EXAMPLE)

Submitted by anonymous - 2 years ago