cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Mancino
Level: Powered On

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

Mancino
Level: Powered On

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

That works perfectly! Thank you!

Helpful resources

Announcements
firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

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!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors
Users online (5,313)