SAS Quality Knowledge Base for Contact Information 27

Phone (Detailed)

Parse Definition

Phone (Detailed)
Description The Phone (Detailed) parse definition parses phone numbers into a detailed set of tokens.
Output Tokens Carrier Selection Code
Country Code
Area Code
Base Number Prefix
Base Number Suffix
Base Number (Other)
Extension
Line Type
Additional Info
Example 1 Input Output Token Output
Trabalho: +55 11 4501-5452 r1234 (Peça para Maria) Carrier Selection Code  
Country Code +55
Area Code 11
Base Number Prefix 4501
Base Number Suffix 5452
Base Number (Other)  
Extension 1234
Line Type Trabalho:
Additional Info (Peça para Maria)
Example 2 Input Output Token Output
Comercial: 0041 54 7368468934 ext. 33 (Número na Argentina) Carrier Selection Code 0041
Country Code 54
Area Code  
Base Number Prefix  
Base Number Suffix  
Base Number (Other) 7368468934
Extension 33
Line Type Comercial:
Additional Info (Número na Argentina)
Example 3 Input Output Token Output
31-32354200 Carrier Selection Code  
Country Code  
Area Code 31
Base Number Prefix 3235
Base Number Suffix 4200
Base Number (Other)  
Extension  
Line Type  
Additional Info  
Example 4 Input Output Token Output
023 11 98661-0495 -- Movel Carrier Selection Code 023
Country Code  
Area Code 11
Base Number Prefix 98661
Base Number Suffix 0495
Base Number (Other)  
Extension  
Line Type Movel
Additional Info  
Example 5 Input Output Token Output
RESIDENCIAL: 0054 99999999 Carrier Selection Code  
Country Code 0054
Area Code  
Base Number Prefix  
Base Number Suffix  
Base Number (Other) 99999999
Extension  
Line Type RESIDENCIAL:
Additional Info  
Example 6 Input Output Token Output
982990183 Carrier Selection Code  
Country Code  
Area Code  
Base Number Prefix 98299
Base Number Suffix 0183
Base Number (Other)  
Extension  
Line Type  
Additional Info  
Remarks