Displaying page
of
pages;
Items to
Title |
Test
Details
Pattern Title
|
Expression |
^\d{5}(-\d{4})?$
|
Description |
Zip+4 Zipcode RegEx. You may ommit the +4 digits but you must also then ommit the hyphen/dash as well. In 1983, the Postal Service™ began using an expanded ZIP Code™ number called called the "ZIP+4®" Code. The nine digits of a ZIP+4 code (e.g., 12345-6789) is broken down as follows: [123]Sectional Center or Large City. [45]Post Office™ facility or Delivery Area. [-]Required "dash" or "hyphen". [67]Sector or Several Blocks. [89]Segment or One Side of a Street. Also just FYI, ZIP codes in the northeast US frequently start with '0' or '00'. [00988-Carolina, PR] [03110-Bedford, NH]. Thanks, Ryan v-
|
Matches |
98121 | 00988 | 12345-6789
|
Non-Matches |
98121- | 12345-678 | 1234
|
Author |
Rating:
Ryan Van Aken
|
Displaying page
of
pages;
Items to