I have a very similar problem stripping a footer and header pair, and as far as I know, I can't break it into two regexps because my header is just some characters followed by </p><p>, just like the actual content of the pages.
Multi-line doesn't want to work for me. Now, I am mostly familiar with perl regex, but I read this thread and several others, and I couldn't figure this out.
|