- or download this
perl -i.bak -ne 'print unless 16 .. 25' *.html
- or download this
use XML::Twig;
...
and <div>ends</div> with
</div>.
They are on lines 16-25 of the file.
- or download this
<html><head></head><body>Each of the unwanted divs at this point
<div>starts</div>
...
.
They are on lines 16-25 of the file.
</body></html>