I need a well tested Regular Expression (.net style preferred), or some other simple bit of code that will parse a USA/CA phone number into component parts, so:
Here is a well-written library used with GeoIP for instance:
http://highway.to/geoip/numberparser.inc