View Single Post
Old 02-24-2018, 02:48 PM   #7
church mouse
Evangelist
church mouse ought to be getting tired of karma fortunes by now.church mouse ought to be getting tired of karma fortunes by now.church mouse ought to be getting tired of karma fortunes by now.church mouse ought to be getting tired of karma fortunes by now.church mouse ought to be getting tired of karma fortunes by now.church mouse ought to be getting tired of karma fortunes by now.church mouse ought to be getting tired of karma fortunes by now.church mouse ought to be getting tired of karma fortunes by now.church mouse ought to be getting tired of karma fortunes by now.church mouse ought to be getting tired of karma fortunes by now.church mouse ought to be getting tired of karma fortunes by now.
 
church mouse's Avatar
 
Posts: 486
Karma: 5277078
Join Date: Oct 2009
Location: UK
Device: Kobo Clara HD, Boox Poke 2, PocketBook Verse Pro (634)
Quote:
Originally Posted by Doitsu View Post
If you're familiar with Calibre Editor or Sigil (or another editor with regex support), you could use regular expressions to find these kinds of tags:

Code:
<\?[^>]+\?>
will find <?pagebreak number="2"?> (and all other processing instructions).

and

Code:
<a id="p\d+>[^<]*</a>
will find <a id="p2></a>, <a id="p3>3</a>, <a id="p4>4</a> etc.
Thank you. I will give this a go.
church mouse is offline   Reply With Quote