Trouble with looping regex replace workflow
Very happy and long term user of Editorial.
I have the following workflow and it’s not working. I am having trouble In the loop. I am reasonably confident about the replace But it is obviously not working. There is only one line of output being printed, and without the replacement occurring.
I would greatly appreciate a bit of advice to push me over the hump. Especially advice on how to better debug this in the future.
My goal is to select a set of lines and replace it with an HTML list. If this is selected:
Then it would be replaced with:
There were a couple of minor problems with your workflow, e.g. the selected lines were not the input for the repeat block, the $1 capture group in your regex didn’t exist, and a few other things.
This one should work:
Very grateful. Thank you.