Need help removing lines of text from a HTML file

August 9, 2012 at 01:52:21
Specs: Windows XP
I'm trying to find away to remove lines from an HTML file. What it would need to do is look at two tables which in line on the file and if they match the tables below remove them and 31 lines above them.

<TABLE nowrap noflow cellpadding=0 cellspacing=0>
 <TR valign="middle" style=" font-family: Times New Roman; font-size: 12.375px; height: 11.82292px;">
  <TD nowrap  WIDTH=120px ALIGN=LEFT>Bad files: </TD>
  <TD nowrap  WIDTH=577px ALIGN=LEFT>0 </TD>
 </TR>
</TABLE>

<TABLE nowrap noflow cellpadding=0 cellspacing=0>
 <TR valign="middle" style=" font-family: Times New Roman; font-size: 12.375px; height: 11.82292px;">
  <TD nowrap  WIDTH=120px ALIGN=LEFT>Bad Records: </TD>
  <TD nowrap  WIDTH=577px ALIGN=LEFT>0 </TD>
 </TR>
</TABLE>

thanks for any help


See More: Need help removing lines of text from a HTML file

Report •

#1
August 9, 2012 at 23:59:57
Your requirement makes no sense to me.

And the file posted only has 13 lines.


====================================
Life is too important to be taken seriously.

M2


Report •
Related Solutions


Ask Question