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 |
||
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 |
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. |