RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Pattern Title
Expression
^[1-9]{1}[0-9]{3}\s?[a-zA-Z]{2}$
Description
it matches dutch zip codes (postcode)
Matches
1234 ab | 1234ab | 1234AB | 1234 AB
Non-Matches
12341av | 1234 | 123ab | 1234a | as
Author Rating: The rating for this expression.
Source regulator
Your Rating
Bad Good

Enter New Comment

Title

Name

Comment

Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

Title: not correct
Name: Erik Terwiel
Date: 3/22/2011 8:51:58 AM
Comment:
This is too simple: letter combinations SS, SD and SA are not allowed for historic reasons. F, I, O, Q, U and Y are in use nowadays. I posted a correct(er) one


Copyright © 2001-2025, RegexAdvice.com | ASP.NET Tutorials