View Single Post
Old 03-10-2013, 01:50 PM   #4
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by phossler View Post
Is it possible to avoid changing things like the example in the first place??
Sometimes you just can't use a Regex with Replace All, because you might catch a few false positives. Sadly I do not know off the top of my head a way to catch everything else..... perhaps looking for that match only while it is inside of <p> tags.... but now you are making my head hurt.

Although if you still wanted to be lazy and Replace All. I can recommend changing Sigil to Replace in the "Current File", direction set to "Down", and turning off "Wrap". Then you can click below the header information, and then press Replace All, and do this for each file in the book you want the span added to.
Tex2002ans is offline   Reply With Quote