Canadian Postal Code formatting
Your validation works correctly in that it will validate N5Z 3H4, N5Z3H4 or N5Z-3H4. There are old school diehards though who insist that the only valid format is N5Z 3H4, with a space, not a dash. In my case, I need to insert into a database which follows this format. Is there a bit of code that I can edit to allow only the one option?