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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Dutch postal codes
Expression
\b[1-9]\d{3}\ +[A-Z]{2}\b
Description
Dutch postal codes are ranged from "1000 AA" to "9999 ZZ".
Matches
"1484 EE"
Non-Matches
"1484EE", "0111 AB", "1484 ee", "1234 ABC"
Author Rating: Not yet rated. René de Leeuw
Source Expresso
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: The term 'Dutch' is wrong!
Name: Oscar
Date: 8/31/2011 12:14:54 AM
Comment:
The term 'Dutch' is wrong! This is a postal code from The Netherlands, not 'Dutch'! 'Dutch' is NOT a country but a language which is spoken in different countries (with different forms of postal codes). As such, please do not use such a regexp if you know you' users speak 'Dutch'. Their postal code might be quite different!


Title: The term 'Dutch' is wrong!
Name: Oscar
Date: 8/30/2011 11:57:47 PM
Comment:
The term 'Dutch' is wrong! This is a postal code from The Netherlands, not 'Dutch'! 'Dutch' is NOT a country but a language which is spoken in different countries (with different forms of postal codes). As such, please do not use such a regexp if you know you' users speak 'Dutch'. Their postal code might be quite different!


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