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 |
|
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}$