View Single Post
Old 12-09-2020, 09:37 PM   #6
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,860
Karma: 6120478
Join Date: Nov 2009
Device: many
I Find and replace enable regular expressions.

If there is only one script tag in each file, using something along the lines of:

Find:
<script>.*</script>

And leave Replace empty

Should do it, but save a copy of the epub first in case something goes wrong.

If there is more than one script tag per file, you may have to limit the greediness of the match to prevent anything inbetween the two script tags from being deleted.
KevinH is offline   Reply With Quote