>>102939137
That's what I thought you're trying to do but I can't get it to work.
Putting {{match}} in Trim Out does nothing. Putting it in Replace With is same thing as having no regex at all.
Anyway, I solved it with (no m flag needed)
regex: /^{{comment:[\s\S]*?}}\n?|{{comment:[\s\S]*?}}/g