regex replace all the text within an html tag

If you want, for example, delete all styles tag within several html in an epub file, keeping only the stylesheet linked in them, you can use this command:

<style type="text/css">(.|\n)*?<\/style>

Calibre editor in this case is better than Sigil, for epub files.

Lascia un commento

Il tuo indirizzo email non sarĂ  pubblicato. I campi obbligatori sono contrassegnati *