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: +1 (919) 447-3000 Ext 3118 (ask for John) | Country Code | +1 | |
Area Code | 919 | ||
Base Number | 447-3000 | ||
Extension | 3118 | ||
Line Type | Work: | ||
Additional Info | (ask for John) | ||
Example 2 | Input | Output Token | Output |
011 44 2012345000 | Country Code | 011 44 | |
Area Code | |||
Base Number | 2012345000 | ||
Extension | |||
Line Type | |||
Additional Info | |||
Example 3 | Input | Output Token | Output |
Toll Free: (800) 888-4257 | Country Code | ||
Area Code | 800 | ||
Base Number | 888-4257 | ||
Extension | |||
Line Type | Toll Free: | ||
Additional Info | |||
Example 4 | Input | Output Token | Output |
310 424-1442 3118 (w) | Country Code | ||
Area Code | 310 | ||
Base Number | 424-1442 | ||
Extension | 3118 | ||
Line Type | (w) | ||
Additional Info | |||
Remarks |
Documentation Feedback: yourturn@sas.com |
Doc ID: QKBCI_ENUSA_Parse_Phone.html |