SAS Quality Knowledge Base for Contact Information 27
| Phone | |||
|---|---|---|---|
| Description | The Phone parse definition parses phone numbers into a set of tokens. | ||
| Output Tokens | Country Code Area Code Base Number Extension Line Type Additional Info |
||
| Example 1 | Input | Output Token | Output |
| Work: 00442012345000 Ext 678 (ask for Mary) | Country Code | 0044 | |
| Area Code | 20 | ||
| Base Number | 12345000 | ||
| Extension | 678 | ||
| Line Type | Work: | ||
| Additional Info | (ask for Mary) | ||
| Example 2 | Input | Output Token | Output |
| (0)20 87817200 | Country Code | ||
| Area Code | (0)20 | ||
| Base Number | 87817200 | ||
| Extension | |||
| Line Type | |||
| Additional Info | |||
| Example 3 | Input | Output Token | Output |
| +1 (919) 447-3000 | Country Code | +1 | |
| Area Code | |||
| Base Number | (919) 447-3000 | ||
| Extension | |||
| Line Type | |||
| Additional Info | |||
| Example 4 | Input | Output Token | Output |
| 07412 123456 (mobile) | Country Code | ||
| Area Code | 07412 | ||
| Base Number | 123456 | ||
| Extension | |||
| Line Type | (mobile) | ||
| Additional Info | |||
| Example 5 | Input | Output Token | Output |
| 01628 486933 (home) | Country Code | ||
| Area Code | 01628 | ||
| Base Number | 486933 | ||
| Extension | |||
| Line Type | (home) | ||
| Additional Info | |||
| Remarks | |||
|
Documentation Feedback: yourturn@sas.com |
Doc ID: QKBCI_ENGBR_Parse_Phone.html |