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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Pattern Title
Expression
^[0-9]{5}$
Description
Matches german standard postal codes named 'Postleitzahl'
Matches
03242 | 36260 | 12394
Non-Matches
3520 | 102 | 100202
Author Rating: Not yet rated. Kevin Wennemuth
Source e, myself and I
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: Re: not exact
Name: Manuel
Date: 3/27/2005 10:28:37 AM
Comment:
@wurzl There are cities with a leading zero in their plz. (e.g. Leipzig)


Title: not exact
Name: wurzl
Date: 11/13/2004 3:37:36 PM
Comment:
the german zip code is not that hard. But there will be no leading zero in the code. The regexp should be ^[1-9][0-9]{4}$ cu...


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