Originally Posted by Toxaris
I think the following might work:
There are more ways to do this of course.
I only need one.
Unfortunately that doesn't do it. The first part of the expression matches, but adding the second fails.
According to some old docs, Sigil's RegEx engine is very Perl-like. Perl doesn't normally do multi-line matches, but it can be made to do so. I wonder if we must do something special for multi-line matches.