View Single Post
Old 04-01-2014, 03:17 AM   #1
seanos
Zealot
seanos began at the beginning.
 
seanos's Avatar
 
Posts: 104
Karma: 12
Join Date: Apr 2010
Location: Melbourne, Australia
Device: Kobo Sage, Kobo Aura H2O, LG V20
Regex help anyone?

I had sort of got used to Sigil’s regex but I’m finding myself a bit lost with Calibre’s different version.

The book I’m editing has a lot of redundant tags like...

Code:
<div class="text">CONTENT</div>
...where I’d just like to remove the div or ...

Code:
<p class="normal-262-0-override"><span class="no-style-override-9">CONTENT</span></p>
...which I’d like to be...

Code:
<p>CONTENT</p>
Can any kind soul help out?
seanos is offline   Reply With Quote