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][1-9]|[1-4[0-9]){2}[0-9]{3}$
Description
Matches spanish postcodes
Matches
01234 | 50000 | 12345
Non-Matches
00 | 99
Author Rating: Not yet rated. Matt Brooke
Source
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: pattern not correct
Name: M4RC0
Date: 9/20/2007 3:20:11 AM
Comment:
pattern is not correct because it match 00000 (invalid postal code) correct pattern should be: ^([1-9]{2}|[0-9][1-9]|[1-9][0-9])[0-9]{3}$


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