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 |
| Travail: +33 (1) 47 53 38 41 poste 3118 (soirs et les weekends) | Country Code | +33 | |
| Area Code | 1 | ||
| Base Number | 47 53 38 41 | ||
| Extension | 3118 | ||
| Line Type | Travail: | ||
| Additional Info | (soirs et les weekends) | ||
| Example 2 | Input | Output Token | Output |
| 00 33 160621111 | Country Code | 00 33 | |
| Area Code | 1 | ||
| Base Number | 60621111 | ||
| Extension | |||
| Line Type | |||
| Additional Info | |||
| Example 3 | Input | Output Token | Output |
| +44 2012345000 | Country Code | +44 | |
| Area Code | |||
| Base Number | 2012345000 | ||
| Extension | |||
| Line Type | |||
| Additional Info | |||
| Example 4 | Input | Output Token | Output |
| 01 47 53 37 30 (Mais) | Country Code | ||
| Area Code | 01 | ||
| Base Number | 47 53 37 30 | ||
| Extension | |||
| Line Type | (Mais) | ||
| Additional Info | |||
| Example 5 | Input | Output Token | Output |
| SAS France: +33 1 60-62-11-11 | Country Code | +33 | |
| Area Code | 1 | ||
| Base Number | 60-62-11-11 | ||
| Extension | |||
| Line Type | |||
| Additional Info | SAS France: | ||
| Example 6 | Input | Output Token | Output |
| SAS France: (0)1 60-62-11-11 x1234 | Country Code | ||
| Area Code | (0)1 | ||
| Base Number | 60-62-11-11 | ||
| Extension | 1234 | ||
| Line Type | |||
| Additional Info | SAS France: | ||
| Example 7 | Input | Output Token | Output |
| Numéro vert: 08 25827829 | Country Code | ||
| Area Code | 08 | ||
| Base Number | 25827829 | ||
| Extension | |||
| Line Type | Numéro vert: | ||
| Additional Info | |||
| Example 8 | Input | Output Token | Output |
| 33 (1) 30 07 78 10 | Country Code | 33 | |
| Area Code | 1 | ||
| Base Number | 30 07 78 10 | ||
| Extension | |||
| Line Type | |||
| Additional Info | |||
| Example 9 | Input | Output Token | Output |
| 33 0825 827 829 | Country Code | 33 | |
| Area Code | 08 | ||
| Base Number | 25 827 829 | ||
| Extension | |||
| Line Type | |||
| Additional Info | |||
| Example 10 | Input | Output Token | Output |
| 33-1-30797979 | Country Code | 33 | |
| Area Code | 1 | ||
| Base Number | 30797979 | ||
| Extension | |||
| Line Type | |||
| Additional Info | |||
| Remarks | |||