using regex, replace "011" with "+"

Peter Wang 46 Reputation points

International call starts with 011. I would like to find all international calls, and replace 011 with a "+" sign. How can I achieve this goal using regex?
Thanks in advance,

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,606 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sharon Zhao-MSFT 25,081 Reputation points Microsoft Vendor

    @Peter Wang ,

    Let us suppose that the inbound call is translated to a X-digit number. Then, you can follow the pattern and translation as below:
    *Pattern: ^110(\d{**X})$
    Translation: +$1***

    There are many examples of SBC configuration in this article. Please pay attention to Example SBC configuration part.

    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful