Regular Expression To Validate Postal Codes In the Netherlands

A regular expression to match and validate postal codes in the Netherlands.

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

Matches:

  • 1012 AB
  • 1012AB
  • 3068JH

Non-matches:

  • 1012
  • 101 2AB
  • 1012 12

See Also:

Regex Is Copied!