web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Copilot Studio - General
Suggested answer

RegEx in Copilot Studio

(1) ShareShare
ReportReport
Posted on by 159
I want to perform a RegEx on the user query/question but it is not possible because the functions match and ismatch are not supported in Copilot Studio PowerFX. For example, I want to go to a specific topic if the query contains XXX-XX-XX pattern.
Anyone know how to do this?
Thank you.
Categories:
I have the same question (0)
  • Suggested answer
    Vinoth Selvam Profile Picture
    1,565 Super User 2025 Season 2 on at
    RegEx in Copilot Studio
    Hi  ,
     
    You can use PowerFX's existing string functions like Mid, Left, and Right to isolate parts of the string.
     
    But the Actual Solution for your problem could be using Inputs in Topics. The Description that you provide in LLM itself is capable to extract and identify the required pattern.
     
    You can read through the below post that i have written.
     
     
     
    Hope this can solve your problem.
     
    Thanks.
  • Low Code No Code Pro Code Ninja Profile Picture
    7 on at
    RegEx in Copilot Studio
    We can implement regex by creating custom entities in Copilot studio.

    Refer to this blog: https://www.microsoft.com/en-us/microsoft-copilot/blog/copilot-studio/regex-regular-expression-entity-support-in-power-virtual-agents/

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Coming soon: forum hierarchy changes

In our never-ending quest to improve we are simplifying the forum hierarchy…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 356 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 345 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 57 Moderator

Last 30 days Overall leaderboard