Showing results for 
Search instead for 
Did you mean: 

Support for regex - either in conditions or as an action with capture groups exposed

It would be really good to have support for regular expressions.


This could be surfaced in the UI ideally in both conditions and actions.


A conditional regex would just test whether a string matched against a regex.

An action regex would expose capture groups.

Status: Under Review

This is a great suggestion - we are trying to identify a way to safely run regex in Flow.

Power Automate
Status changed to: Under Review

This is a great suggestion - we are trying to identify a way to safely run regex in Flow.

Regular Visitor

Great news, thanks for the update @Stephen. We will welcome regex with open arms. 

Frequent Visitor

@Stephen, any update?

New Member

+1 I think this calls for a lightbulb joke.


Q: How many engineers does it take to type in a Regex?

A: ...

Resolver I

Here is to confirm that we are also very much interested in this capability. Any update at this point?

Kudo Collector

Regex should be possible for conditions and also to search in a string for matching groups and get the matches as output. It's a shame that regular expressions are not support. RegeEx ist such a basic but powerful thing. Much better als simple text search/split, etc. 


And also of course for replace. Like in SED.


To have RegEx available for conditions, string search and replaces, will decrease the need of a lot of compose-chains and expression-chains.

New Member

Any update on this one?

If iOS Shortcuts can, you can 🙂


(they use the ICU RegEx engine I believe)

New Member

How you can have a product based around automation and not have regex available is crazy.


Please add support for regex.

Advocate I

This idea is sooo complex 😉 but at the same time it's so great that maybe 1-2 years and Flow staff will eventually identify the way to implement it 😄

New Member

Under consideration for two years? Come on Microsoft, put some real resource into this. Regex is a necessity for a platform like Flow.