Canadian Postal Code Regular Expression


/ Published in: Regular Expression
Save to your folder(s)



Copy this code and paste it in your HTML
  1. /^\s*[a-ceghj-npr-tvxy]\d[a-ceghj-npr-tv-z](\s)?\d[a-ceghj-npr-tv-z]\d\s*$/i

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.