in reply to deleting content

I'm not familiar with the use of ... between two regular expressions but that could just be my ignorance. Once again I'd suggest something closer to my response to one of your previous posts:

s|<td .*? bgcolor="#04047c".*?>[.\n]*?</td>||g

By the posts you've made it seems to me that you have many of these deletions of different bits of your file before passing the content on. Basically to follow the method I've got here for all your other deletions, use the s|||g pattern to get rid of the offending code. Put whatever is unique about the offending code between the first two '|' and then nothing between the middle and the last '|'. if you aren't sure about the case (upper/lower) of the text involved, do s|||gi instead.