SAS Quality Knowledge Base for Contact Information 27

Postal Code

Standardization Definition

Postal Code
Description The Postal Code standardization definition standardizes postal codes.
Examples Input Output
H2N-1Z2 H2N 1Z2
h1n2w2 H1N 2W2
CDN E8C2R8 E8C 2R8
U-27514 US-27514
U.S.A. 27514 US-27514
!V6B 2R7 V6B 2R7
Postal Code: S9H 3W4 S9H 3W4
Code Postal: S9H 3W4 S9H 3W4
V6B C56 V6B 5C6
MIC 5G5 M1C 5G5
FR. 12345 FR-12345
12345 6789 12345-6789
Remarks If a postal code contains 5 digits, followed by a space or hyphen, followed by 4 digits, it is recognized as a United States postal code, and a hyphen is placed between the two sets of digits per U.S. convention.