cancel
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.

Comments
Microsoft

Would like to be able to perform regex commands on strings.

 

Outputs would be 

- array of matches

- count of matches

- array of arrays of groups in matches

 

if using find/replace regex, also include full string post replacement

New Member

I would love to be able to use regex to parse text emails for expected strings and use that to create a calendar event!

Anonymous
Not applicable

I would love to use regex for comments from planner task so I can generate a summary of a task based on the key words. This is a good idea to have that ability.

Anonymous
Not applicable

Greate feature, would like to have it!

MM Advocate IV
Advocate IV

Regex should be usable on all fields, like any other function

Advocate I

I believe this is the only I'll be able to parse email body for hyperlinks.  We wish to retrieve press releases (pdf) that are linked and not attached to incoming email.

New Member

We would like to have this feature! 🙂

New Member

Idem.

Would help a lot to be able to use regex on flow fields and capture patterns.

For instance, evaluate a mail object then save the attachment in a sharepoint site according to the reference id captured from the evaluated string.

New Member

I would love this.  My use case is to pull an expected string (document name) from a transmittal email and then insert that to a sql database

Anonymous
Not applicable

Please let us use regex, period.