View Single Post
Old 02-24-2018, 02:45 AM   #1
nopi1001
Junior Member
nopi1001 began at the beginning.
 
nopi1001's Avatar
 
Posts: 4
Karma: 48
Join Date: Feb 2018
Location: SC
Device: kindle paperwhite
Fixing breaks in dialogue

In several my books, there are points where the dialogue is broken with newlines. Below is an HTML code example from an AZW3 formatted book of the thing I'd like to fix:

<p class="calibre1">"Let's just assume that you really do read minds. </p>
<p class="calibre1">What on earth makes you believe that I can do the same? </p>
<p class="calibre1">I think I would have a much easier time at work if I could read my clients' thoughts." </p>

I would like to change it to something like:

<p class="calibre1">"Let's just assume that you really do read minds. What on earth makes you believe that I can do the same? I think I would have a much easier time at work if I could read my clients' thoughts." </p>

Is there any way to find all these broken dialogues within a file with regex/regex-functions and make them appear whole and uninterrupted? I just started using the whole regex thing and haven't been able to find a way to fix problems like this.
nopi1001 is offline   Reply With Quote