Quote:
Originally Posted by unboggling
It's that simple? You just replace <br\s*/> with <br class="calibre\d+" />
Did you mean either of those are the Search regex, depending on whether book was previously converted by calibre or not?
What is the Replace regex to end up with
</p> closing prior paragraph and <p> opening next paragraph? Or whatever else is the best way to do it?
|
Here is one that finds either (and does not count as a
capture
Code:
<br(?:\sclass="calibre\d+")*\s*/>
NB took me a while, I forgot to include the space before the optional calibre