Try it out on these example inputs:

back to RegexSwap.

Dutch Postal Code

Regular expression:

^\s*?[0-9]{4}\s?[a-z|A-Z]{2}\s*?$

Categories:

Popularity:

You need to be logged in to cast votes on regexes.

Good
0
Bad
0

Author description and comments (0)

Topic by
rilisema

2010-03-11
16:25

Description

Postal code check for the Netherlands.
Leading and trailing spaces are filtered.

You need to be logged in to participate

In order to post your own comments on this regex, you need to be logged in.

Username:

Log in by clicking the login link at the top of the screen