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
Work: +(63) 02 2511443 ext 678, ask for Joe Country Code +(63)
Area Code 02
Base Number 2511443
Extension 678
Line Type Work:
Additional Info ask for Joe
Example 2 Input Output Token Output
02 2511443 Country Code  
Area Code 02
Base Number 2511443
Extension  
Line Type  
Additional Info  
Example 3 Input Output Token Output
2 2511443 Country Code  
Area Code 2
Base Number 2511443
Extension  
Line Type  
Additional Info  
Example 4 Input Output Token Output
09812345678 Country Code  
Area Code  
Base Number 09812345678
Extension  
Line Type  
Additional Info  
Example 5 Input Output Token Output
9812345678 Country Code  
Area Code  
Base Number 9812345678
Extension  
Line Type  
Additional Info  
Example 6 Input Output Token Output
+1 3032345678 Country Code +1
Area Code  
Base Number 3032345678
Extension  
Line Type  
Additional Info  
Remarks