Further examples of number replacement
The following table lists examples of possible uses of placeholders in number replacement.
Original
Replacement
Explanation
sip:231*@*.company.com
sip:123*@*.lanphone.com
The placeholders are identified by their position in relation to @:
*before the @
Beginning at the @, all characters to the left are replaced.
Here: Everything to the left of the @ up to the string "sip:231" is inserted between the string "sip:123" and the @.
*after the @
Beginning at the @, all characters to the right are replaced.
Here: Everything to the right of the @ up to the string "company.com" is inserted between the @ and the string "lanphone.com".
ATTENTION: It is not possible to insert more than one * before or after the @.
sip:231*@*.company.com
123*
If no @is present, the placeholder is classified as "before the @".
Here: Everything to the left of the @ up to the string "sip:231" is inserted between the string "sip:123" and the @.
The placeholder after the @ has no match in this example, and is not further replaced.
sip:231*@*.company.com
sip:231@*.outlook.com
Here, everything between the string "sip:231" and the @ is ignored.
Everything between the @ and the string ".company.com" is inserted between the @ and the string ".outlook.com".
+4415
+44800283015
The number '+4415' is replaced by '+44800283015'
+4415*
+44800283015
All numbers beginning with ‘+4415' are replaced with '+44800283015'.
+4415*
+44800283015*
Any numbers starting with '+4415' will be replaced by numbers beginning with ‘+44800283015’, i.e. +44151234567 will be replaced by +448002830151234567.
Last modified date: 01/24/2024