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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / RegEx in Copilot Studio
Copilot Studio
Suggested Answer

RegEx in Copilot Studio

(1) ShareShare
ReportReport
Posted on by 169
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,590 Super User 2025 Season 2 on at
    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
    9 on at
    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

Forum hierarchy changes are complete!

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

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 261 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

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

#3
S-Venkadesh Profile Picture

S-Venkadesh 93 Moderator

Last 30 days Overall leaderboard