Canadian postal code


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

Z5Z-5Z5 orZ5Z5Z5


Copy this code and paste it in your HTML
  1. /^\D{1}\d{1}\D{1}\-?\d{1}\D{1}\d{1}$/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.