View Single Post
Old 04-24-2015, 01:30 AM   #2
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
there is, but its far better to not " acquire" such crap source material in the first place.
if you look in the sigil forum there is a thread of regex examples.
regex is what you need for this, and you will have to learn some.

i think the find string for that specific example would be \(\d+ of \d+\)

that finds a bracket followed by a number followed by " of " followed by another number followed by a closing bracket

i use the sigil editor rather then the calibre one, but I guess the syntax is same or similar

you need a little knowledge in order to tweak the code as needed for other books
cybmole is offline   Reply With Quote