Hello folks -
I'm new with the Power Automate but really enjoying playing with it since it's part of O365 ecosystem.
I'm currently working on something to capture a specific line from an email body and ignore the succeeding text. So far, I've managed to capture the text from the email body, thanks to the expression posted here, but it does also capture all the text after.
This is the expression I'm using: last(split(triggerBody()?['body'],'Message ID: '))
I think there are few tweaks needed on the expression, I just don't know what it is 🙂
Thank you!
ok @akosijesyang ,
the instructions available in that link should work.
If I have answered your question, please mark my post as Solved.
If you like my response, please give it a Thumbs Up.
My blog site about Power Automate: https://powerautomatejoy.com/
BR,
Marco
Hello @MarconettiMarco - thank you for suggesting the link. I'll look at it.
It's the "space" that separates the string I want to capture from the next section.
Thank you.
Hello @akosijesyang ,
is there any particular character at the end of the string you want to grab?
How do you want to limit the string extraction?
If is there a specific character at the end, I think you could use an approach like the following:
If I have answered your question, please mark my post as Solved.
If you like my response, please give it a Thumbs Up.
My blog site about Power Automate: https://powerautomatejoy.com/
BR,
Marco