0 Replies - 999 Views - Last Post: 08 April 2009 - 09:20 PM

#1 PsychoCoder  Icon User is offline

  • Google.Sucks.Init(true);
  • member icon

Reputation: 1659
  • View blog
  • Posts: 19,853
  • Joined: 26-July 07

Valid US zip code

Posted 08 April 2009 - 09:20 PM

Description: Regular expression pattern for matching a valid US zip code. Accepts either the standard 5 digit or extended 9 digit (5 numbers, dash, then 4 numbers)
^d{5}([-]d{4})?$

Is This A Good Question/Topic? 0
  • +

Page 1 of 1