Share via


Use regular expressions (regex) in your bots

Important

This content is archived and is not being updated. For the latest documentation, go to Power Virtual Agents overview. For the latest release plans, go to Dynamics 365 and Microsoft Power Platform release plans.

Enabled for Public preview General availability
Admins, makers, marketers, or analysts, automatically - Oct 1, 2021

Business value

Regular expressions provide a powerful, flexible, and efficient method for processing text. The extensive pattern-matching notation of regular expressions enables you to quickly parse large amounts of text and ensure they match a predefined pattern.

Feature details

Power Virtual Agents now supports entity extraction based on regular expression patterns. Your bot will be able to identify patterns such as product IDs, serial numbers, email addresses, and other patterns from user responses.

Screenshot of the entity creation window, with the Regex option highlighted.

See also

Use entities and slot filling in Power Virtual Agents bots: Regex entities (docs)