Title |
Test
Find
Pattern Title
|
Expression |
^(((2|8|9)\d{2})|((02|08|09)\d{2})|([1-9]\d{3}))$ |
Description |
Matched Australian Postcodes, as defined by AusPost.
Many Australian developers are unaware of the small range of 3 digit, or 0 starting postcodes.
220 and 221 (or 0220 and 0221) are for ANU and LVR.
800s and 900s (or 0800s and 0900s) are for NT, and parts of SA, WA.
1000s are for big companies in Sydney, competition mailings, etc. |
Matches |
200 | 0820 | 2753 |
Non-Matches |
700 | 0700 | abcd |
Author |
Rating:
Tatham Oddie
|
Source |
|
Your Rating |
|
Title: No Longer Valid
Name: Nathan Hill
Date: 9/12/2006 9:23:55 PM
Comment:
This regular expression is no longer valid in Australia as Sydney now has 8XXX postcodes.