Hi all. I am looking for help with a particular data field I am trying to extract from a form the comes into my inbox. I have a flow that is triggered by an email coming into a particular inbox, and it is converted into plain text and then I initiate a string variable.
I have had decent luck using the
last(split(variables('EmailBody'), '[Where I want my string to start]'))
First(split(variables('OutputVariables'), '[Where I want my string to end]')) trick, but it only works part of the time for the "Comments" portion of the emailed form. There is no regularity on how the comments are entered, only that they are located between 2 target words. Is there any other way that i can try to see if it works better for this flow?