View Single Post
Old 12-01-2010, 12:03 PM   #10
Perkin
Guru
Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.
 
Perkin's Avatar
 
Posts: 657
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD, iPad (Marvin)
Using you example texts

Search for
Code:
</p>(.)(.)  <p class="calibre1">([a-z])
and replace with
Code:
 \3
The \3 means to replace with the 3rd stored value from the search
which will be the lowercase letter at the beginning of the new paragraph.

(The reason I also store the two newlines is that I have a very similar one, and use this to differentiate between my two search values and then have a different replace value.)
Perkin is offline   Reply With Quote