View Single Post
Old 10-29-2011, 06:33 PM   #6
shamanNS
Wizard
shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.
 
Posts: 1,125
Karma: 12345678
Join Date: Feb 2010
Location: Serbia
Device: Kindle PW5, Kobo Libra 2, Kindle PW1
Can someone help me create RegEx for deleting couple of lines in all html files that are in the same folder (or maybe all html files currently open in Notepad++ ? I have about 200 ebooks needed to be edited,and each chapter is separate html file,so manualy editing them would take ages...


Here is the example what lines should be deleted (the one i bold letters):
link

The part in red color (p1) is the only thing that varies in those html files,and it's incremental (p1,p2,p3.....).
<p> in blue color at the begining of the line should not be deleted,only rest of the line.

Here is one set of html files (one ebook ) for testing purposes: link.

p.s. I have Python installed on my Windows 7,so solution can be in form of python script,if it easier.

Thanks in advance.
shamanNS is offline   Reply With Quote