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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Does the match() funct...
Power Automate
Answered

Does the match() function work in Power Automate?

(0) ShareShare
ReportReport
Posted on by 20
I am trying to use a REGEX formula to validate the expected format of a reference ID number.
 
My Reference ID is coming from another table in Dataverse for a specific record that comes from a When a row is added or modified trigger: 
triggerOutputs()?['body/abc_refID']

My REGEX formula is being pulled from a specific Dataverse column on the account table for a given supplier from a Get a row by ID action: ('Get_a_row_by_ID_Account')?['body/abc_refidvalidation']
 
This is the REGEX formula I am using to validate: 
 
I am setting up a compose action followed by a condition that will check if the output is true. 
 
Here is the 'Compose RefID is Valid' expression: 
@{not(empty(match(triggerOutputs()?['body/abc_refID'], outputs('Get_a_row_by_ID_Account')?['body/abc_refidvalidation'])))}
 
The following condition step is: outputs('Compose_RefID_is_Valid') is equal to true
 
Here is the error I get at the :
Unable to process template language expressions in action 'Compose_RefID_is_Valid' inputs at line '0' and column '0': 'The template function 'match' is not defined or not valid.'.
 
 
ChatGPT sats the match function is not compatible with Power Automate, but other sources online indicate it is. Can I get a definitive answer on this topic and possibly a suggestion on how to dynamically validate this field based on the unique account expectations?
Categories:
I have the same question (2)
  • Verified answer
    Ellis Karim Profile Picture
    12,109 Super User 2026 Season 1 on at
    Unfortunately, Power Automate does not support regex out of the box
     
     
     
    Ellis Karim
    Ellis Karim
    Blog | LinkedIn | Bluesky
    If this solved your issue, please mark it as ✅ Accepted Answer. If it helped, feel free to give it a 🩷 Like!

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 389

#2
Vish WR Profile Picture

Vish WR 331

#3
David_MA Profile Picture

David_MA 298 Super User 2026 Season 1

Last 30 days Overall leaderboard