I\'m trying to build a regular expression in javascript to validate a Dutch zipcode.
The zipcode should contain 4 numbers, then optionally a space and then 2 (case insen
Here is my solution. The i in the end makes it case-insensitive:
var rege = /^\d{4} ?[a-z]{2}$/i;