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:
- 3035551234122
- 1-303-555-1234x122
- (303)555-1234-122
- 1 (303) 555 -1234-122
etc...
all parse into:
- AreaCode: 303
- Exchange: 555
- Suffix: 1234
- Extension: 122