Quote:
Originally Posted by trebor6691
One of the things I spend the most time editing is bad paragraph breaks. For instance, Tom continued his paragraph
on another line.
The easiest way so far is to regex Search:
</span></p>
<p class="calibre9"><span class="calibre6">[a-z]
then manually <shift> arrow left, and hit space. I would love to Search for the paragraph starting with a lowercase letter, but leave the letter intact and Replace everything before it with the space so that I can replace all at once.
Any help would be greatly appreciated.
|
You were almost there
Code:
(?sm)</span></p>\s+<p class="calibre9"><span class="calibre6">([a-z])
the slash 1 puts back the captured letter from above