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-Z]{2}$
Description
Postcode for the Netherlands
Matches
1234AB | 1234 AB
Non-Matches
123BBB | 023AB
Author Rating: Not yet rated. de kleine Gerardus
Source Frank
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: See previous listing
Name: Henk
Date: 2/16/2006 8:39:06 AM
Comment:
See : http://www.regexlib.com/REDetails.aspx?regexp_id=205


Title: See previous listing
Name: Henk
Date: 2/16/2006 8:38:53 AM
Comment:
See : http://www.regexlib.com/REDetails.aspx?regexp_id=205


Title: Not correct
Name: Frank
Date: 9/15/2005 5:24:45 AM
Comment:
As given by a previous expression dutch postal codes cannot start with a zero. This should work ^[1-9]{1}[0-9]{3}\s?[A-Z]{2}$ you could use lowercase characters


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