From what I see, that shouldn't be happening. Did you make sure the page number is highlighted as well?
You could also try to use the header removal for one type of the headers and the footer removal for the other. There may be some funky effect in that regex that I failed to notice.
|