Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
^[1-9][0-9]{3}\s?[A-Z]{2}$
/
i

Description

Postcode hoofdletter ongevoelig. Inclusief eventuele spatie.

Submitted by Manoe Driessen - 8 years ago