SAS Quality Knowledge Base for Contact Information 27

Phone

Parse Definition

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
Büro: +49 06221 415-0 Durchwahl 4629 (fragen Sie nach Mary) Country Code +49
Area Code 06221
Base Number 415-0
Extension 4629
Line Type Büro:
Additional Info (fragen Sie nach Mary)
Example 2 Input Output Token Output
(030) 12345-67 Country Code  
Area Code 030
Base Number 12345-0
Extension 67
Line Type  
Additional Info  
Example 3 Input Output Token Output
(030) 12345.67 Country Code  
Area Code 030
Base Number 12345-0
Extension 67
Line Type  
Additional Info  
Example 4 Input Output Token Output
(030) 12345*67 Country Code  
Area Code 030
Base Number 12345-0
Extension 67
Line Type  
Additional Info  
Example 5 Input Output Token Output
(06221)415-0 Country Code  
Area Code 06221
Base Number 415-0
Extension  
Line Type  
Additional Info  
Remarks This parse definition is intended for German customers to yield results that follow the local convention.