regular expression javascript canadian postal code code example Example: canadian postal code pattern input html [A-Za-z][0-9][A-Za-z] [0-9][A-Za-z][0-9]