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
Advocate V

*deleted, because still waiting for answer making a new post*

Advocate V

*deleted, because still waiting for answer making a new post*

Regular Visitor

Support for Regular Expressions would be a fantastic addition.

Frequent Visitor

I've been able to use indexOf for some of what I need but unable to get the job done with one block of text I'm working with regex would be able to solve it. 

New Member

This would be a great feature to be able to capture multiple occurrences of a string! Please bring us this functionality in Flow!

Regular Visitor

when there will be regex in flow? 

Advocate II

+100

  (& joining thread for notifications)

Advocate V

@Stephen 

Under review since "‎12-18-2018 01:19 PM". What means "under review" for you? Is it just a state to show user that you will not left anything in state "new"? Or do you really actively working on it?

 

What is the outcome of your review and when will you plan it? This is a really great feature and makes the use of flow for many scenarios much easier!

 

For Searching it would be nice, in Conditions it would be nice, and also to have the possibility to get matching groups and also for replacements it would be really, really great.

 

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

+1

Frequent Visitor

Was so close to set up a perfect flow... missing regex though. Please add this feature. Thanks