Thread: Regex examples
View Single Post
Old 09-09-2020, 06:06 AM   #660
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by Leonatus View Post
I just want to contribute a bit, as I found a way to remove Kobo spans:

Search:
Code:
<span class="koboSpan" id="kobo.[0-9]{1,2}([.][0-9]{1,2})?">([^<>]+)</span>
Replace:
Code:
\2
Might be usefulto someone.
For the record, the Modify ePub plugin includes function to remove the Kobo spans. And, Diap's Editing Toolbag plugin can remove spans based on the class. I think that is the way I did it the last time I wanted to.
davidfor is offline   Reply With Quote