I am trying to create a flow in PowerAutomate which iterates through each value in an array (each value is present somewhere in the output), and replaces the found value with itself and a linebreak. Essentially, adding a linebreak at each value from the array, in the output.
For instance, I might have the array: 1, 2, 3
And the input: Hello 1 nice 2 see you 3 today
I would like here to get the output:
Hello
1 nice
2 see you
3 today
I have tried with apply to each and everything. But I just can't seem to find a "ReplaceALL" function or anything of the sort in powerautomate ):
Any help is appreciated.
You could use a Select action for this.
Below is to demonstrate how you could check the value of the item has a certain value.
After that you can join them together with a line feed character.