this thread is very useful. I'd been fixing up line breaks manually in Word, which took ages.
I am amazed how easy it can be via regex.
I use variations of the code given earlier in this thread i.e.
What you want to do is something like this:
Find: ([a-z])</p>\s+<p class="calibre2">
Replace: \1
changing calibre2 as needed on a per book basis - sometimes it needs a different 1 or 2 digit number like calibre13
one that still slips though the test though, is when a sentence has split such that the new line starts with the one letter word capital I. can that also be caught via regex ?
|