I have 1000+ html files, all with more than 1000 lines, on a Linux server.
Most of the files have a particular part of html code that needs to be deleted.
The part that I need to deleted looks about this:
<div class="LoginOuterCssClass" id="ctl07">
...
</div>
Is there some script or command-line solution for this?
Commands like the following didn't help:
X,Ys/search/replace/g
1,2s/\([a-z]*\), \([a-z]*\)/\2 \1/ig
s/<[^]*>//g
Help would me much appreciated!