canada zip code validation regex javascript code example Example: canadian postal code pattern input html [A-Za-z][0-9][A-Za-z] [0-9][A-Za-z][0-9]