Quote:
Originally Posted by phossler
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.