Thread: Regex examples
View Single Post
Old 08-04-2013, 02:03 PM   #273
trebor6691
Junior Member
trebor6691 began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Aug 2013
Device: Kindle
Search, but only replace a portion of the search

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.
trebor6691 is offline   Reply With Quote