Monthly Archives: January 2011

Regular Expression for extracting US Zip Codes

Extract a zip from a a single line extracted from a multi-line address or a single form field, which may or not be zip+4 format, and which maybe on its own, following a city and/or state, and maybe preceding a country