Regular Expressions 101

Community Patterns

Dutch zip (postcode)

0

Regular Expression
PCRE (PHP <7.3)

/
\d{4}[a-zA-Z]{2}
/
g

Description

Regex to validate a Dutch zip (postcode)

Submitted by Anne Douwe Bouma - 7 years ago