cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
scheu
Level: Power Up

How to use RegEx connector in MS Flow

Hi, 

 

I am trying to setup RegEx connector in my MS Flow. 

 

My incoming source to RegEx connector is an email and in there it contains this string as part of the body.

 

<span style="background: yellow">82</span></b></p>

 

And i am trying to extract 'yellow' from it

so I tried this 'regular expression 

<span style="background: (\s+)">82</span></b></p>

 

backgroundSmiley Sad\s+)

 

Can you please tell me how can I solve my problem?

 

Thank you.

Sam

 

 

1 REPLY 1
Highlighted
Community Support Team
Community Support Team

Re: How to use RegEx connector in MS Flow

Hi @scheu,

 

I am afraid that RegEx has not been supported currently, I have seen a similar request on Flow Ideas Forum, please vote the idea at here:

https://powerusers.microsoft.com/t5/Flow-Ideas/Support-for-regex-either-in-conditions-or-as-an-actio...

 

About your scenario, do you want to extract the color of the background from the body of the email?

 

If yes, please try with WDL functions. The following thread could be your reference, please check it at here:

https://powerusers.microsoft.com/t5/General-Flow-Discussion/Microsoft-Flow-and-regex/td-p/118367

 

If you need more help, please feel free post back.

 

 

Best regards,

Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
>