cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

Removing RE: and FW: from Email wth Flow

Hello all,

 

I have a flow that current strips an email of RE: then does a number of things after. (post messages, planner tasks, etc) however I'd like it to also strip FW: from any email that gets sent.

 

Currently, I'm using the replace command to pull RE: off however it doesn't seem to let you do multiple variables in there. I've tried a combination of things - another replace or adding 'FW: ' as well however that causes the replace to be invalid.

 

replace(triggerBody()['subject'],'RE: ','')

 

Any ideas?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User
Super User

Re: Removing RE: and FW: from Email wth Flow

@Mancino 

Hey there.  You can just nest another Replace() in there like this:

 
replace(replace(triggerBody()['subject'],'RE: ',''),'FW: ','')
 
Keep us posted.
-Ed-
 

If you liked this reply, please give it a thumbs up! If this reply has answered your question or resolved your challenge, please consider marking it as a Solution. This helps other users find it more easily via search.

View solution in original post

2 REPLIES 2
Highlighted
Super User
Super User

Re: Removing RE: and FW: from Email wth Flow

@Mancino 

Hey there.  You can just nest another Replace() in there like this:

 
replace(replace(triggerBody()['subject'],'RE: ',''),'FW: ','')
 
Keep us posted.
-Ed-
 

If you liked this reply, please give it a thumbs up! If this reply has answered your question or resolved your challenge, please consider marking it as a Solution. This helps other users find it more easily via search.

View solution in original post

Highlighted
Helper I
Helper I

Re: Removing RE: and FW: from Email wth Flow

That works perfectly! Thank you!

Helpful resources

Announcements
firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (6,287)