SAS Quality Knowledge Base for Contact Information 27

Phone (Global)

Parse Definition

Phone (Global)
Description

The Phone (Global) parse definition parses phone numbers into a globally recognized set of tokens.

Output Tokens Country Code
Area Code
Base Number
Extension
Line Type
Additional Info
Example 1 Input Output Token Output
Tel(+86)10 8319 3355-3636 办公电话 Country Code +86
Area Code 10
Base Number 8319 3355
Extension 3636
Line Type Tel
Additional Info 办公电话
Example 2 Input Output Token Output
(+86)10 8319 3355-3636 办公电话 Country Code +86
Area Code 10
Base Number 8319 3355
Extension 3636
Line Type 办公电话
Additional Info  
Example 3 Input Output Token Output
TEL(0319)7456537 Country Code  
Area Code 0319
Base Number 7456537
Extension  
Line Type TEL
Additional Info  
Example 4 Input Output Token Output
手机13412345678 Country Code  
Area Code 134
Base Number 12345678
Extension  
Line Type 手机
Additional Info  
Example 5 Input Output Token Output
+1 919-447-3000 Country Code +1
Area Code  
Base Number 919-447-3000
Extension  
Line Type  
Additional Info  
Remarks Mobile vendor ID is parsed into the Area Code token.
Parse definitions named with the Global keyword use a set of output tokens that is consistent across every locale. Results obtained from these definitions can be stored in the same database fields as the results obtained from definitions of the same name in other locales.