Skip navigation

Monthly Archives: February 2009

Valid U.S. area codes

A recent project required me to filter a long list of regex-matched phone numbers and weed out any that weren’t likely residential (no 800, 888, 900, etc), any that were outside the U.S. proper (so no Guam, Puerto Rico, etc), or not a valid phone number at all (e.g., starting with 411, 123, etc). I’m [...]