Using Regular Expressions (regex)

Last Updated : Oct 16, 2023 |

MS Teams menus use 'dial patterns' to match numbers dialed. These patterns use regular expression (regex) strings. For example, the regex string ^2\d{2}$ matches any three-digit number beginning with a 2.

  • MS Teams uses dial patterns in dial plans to match numbers dialed by a user and apply a number translation.

  • MS Teams uses dial patterns in voice routes to match the number on outgoing calls to the routes for the call.

For additional information, refer to: