0 Replies - 1522 Views - Last Post: 10 April 2009 - 10:19 AM

#1 bodom658   User is offline

  • Villiage Idiom
  • member icon

Reputation: 114
  • View blog
  • Posts: 1,123
  • Joined: 22-February 08

Valid Canadian Postal Code

Posted 10 April 2009 - 10:19 AM

Description: Implementation will vary between programming languages. Please note that the reason [A-Z] was not used in finding an uppercase letter is that there are letters that are not used in postal codes. Regex matches B4P 2N9 but not Z2Q 3R1, which is how it should work, as the latter is not a valid postal code. see the wikipedia page for more info.Finds match for valid Canadian postal code

Is This A Good Question/Topic? 0
  • +

Page 1 of 1