View Single Post
Old 03-10-2012, 10:40 AM   #1
Paxman53
Connoisseur
Paxman53 began at the beginning.
 
Posts: 55
Karma: 10
Join Date: Jan 2011
Device: 7" Tablet - Aldiko Reader Premium
Broken quotations

Hi Everyone,

Does anyone know a regex code that will close a broken quote.

e.g.

At present:

<p class="calibre6">‘I have a meeting in five minutes with the Prefect of Police, on the Mayeur case.</p>

<p class="calibre6">Tell me about yourself as we go. Oh, and I’ll expect you to take minutes, all right?’</p>

Should be:

<p class="calibre6">‘I have a meeting in five minutes with the Prefect of Police, on the Mayeur case. Tell me about yourself as we go. Oh, and I’ll expect you to take minutes, all right?’</p>

I seem to have a lot of occurences of this in the conversions I am doing. Other regex codes close gaps when there is an obvious break in the sentence i.e. a line will begin with a lower case character.
But I can't seem to find one that does what I need above.


Thanks in advance
Paxman53 is offline   Reply With Quote