Thread
:
Removing Line breaks using regex in PDF when converting
View Single Post
01-12-2017, 04:23 PM
#
4
nabsltd
Fanatic
Posts: 527
Karma: 9529956
Join Date: Aug 2013
Location: Hamden, CT
Device: Kindle Paperwhite (11th gen), Scribe, Kindle 4 Touch
Quote:
Originally Posted by
tankervin
The thing is - I only want to replace the lines that don't end with a fullstop '.'.
Try:
Code:
([^.])</p>$^<p class="calibre1">
Then, replace it with "\1 ". The "\1" puts that last character in the replace.
nabsltd
View Public Profile
Find More Posts by nabsltd
Track Posts by nabsltd via RSS