View Single Post
Old 02-22-2015, 11:26 AM   #1
phossler
Wizard
phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.
 
Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
RegEx to correct Single quote to Double?

I have an epub that for some reason all the dialog is bracketed by single smart quotes. The single quote is also used for contractions and such

Is there a RegEx that would correct (but not over correct) this?

It's really annoying me

Now: He said, 'I'm going home now.' And he left.


Requested: He said, "I'm going home now." And he left.

but with the smart curly quotes

Thanks
phossler is offline   Reply With Quote