Quote:
Originally Posted by kiwidude
I think your post of the regex got rather mangled? Searching for <p> at the end of your regex will get you nothing on any document converted with Calibre as there is no handling of the class on the <p> tag. And there is no replace expression displayed.
The theory of what you say is indeed what the OP on this thread was doing with their first post. ....
|
yes - whoops - I was working with a non calibre-processed source.
otherwise the expression should be something like
([Ia-z,])</p>\s*<p class="calibre2">
replace with
\1
trailing space after \1
points taken about poems, & about blindly applying - I usually do I few find - replace cycles before hitting replace all, & if I do screw up I close sigil, discarding all changes & start over