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(+81) 03-1234-5678 ext.123 (evenings and weekends) | Country Code | +81 | |
Area Code | 03 | ||
Base Number | 1234-5678 | ||
Extension | 123 | ||
Line Type | Tel | ||
Additional Info | (evenings and weekends) | ||
Example 2 | Input | Output Token | Output |
携帯 03ー1234ー5678 | Country Code | ||
Area Code | 03 | ||
Base Number | 1234ー5678 | ||
Extension | |||
Line Type | 携帯 | ||
Additional Info | |||
Example 3 | Input | Output Token | Output |
0521234567123 | Country Code | ||
Area Code | 052 | ||
Base Number | 1234567 | ||
Extension | 123 | ||
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. |