I am new to the forum and only just noticed your post. The pattern you quote works fine. But regex engines vary somewhat. I tried yours out in my editor, Editpro, and it worked and I'm pretty sure it would work under Perl. Somehow you need to flag the pattern as being 'muliti-line'. Dont know whether Sigil has the facility. RobW
|