View Single Post
Old 07-22-2022, 07:18 PM   #8
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,615
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Oh wow. What an overly complex css (in my noobie eyes).

@DaveLessnau how comfortable are you with regex S&R. You could rid the code and replace with your own in just a few S&R quite easily.

For your <section search...
Code:
\n\s\s<section data\-parent=".*?" id=".*?" epub:type=".*?">\n
and then replace with nothing

Then search...
Code:
\s\s</section>\n\n</body>\n\n</html>
Replace...
Code:
\n\n</body>\n</html>
All going well, in two steps you have removed all the <section tags
Karellen is offline   Reply With Quote