Quote:
Originally Posted by JSWolf
Is there any easy way to find single quotes (not straight) that are not part of a contraction in order to convert them to double quotes? I find it odd reading a UK style eBook that has single quotes where I normally expect double quotes.
|
@ JSWolf
I believe this should cover it, but it will replace all the quotes, both in dialogues and outside them, except those that are part of a contraction. Of course, the book must have proper punctuation to begin with.
1) Replace opening single curly quotes with opening double curly quotes
Search:
‘
Replace:
“
2) Replace closing single curly quotes with closing double curly quotes (two passes)
Search:
([.|…|,|:|;|?|!|\-|–|—])’
Replace:
\1”
Search:
’([ |.|…|,|:|;|?|!|\-|–|—])
Replace:
”\1
Some of the combinations are unlikely to be found, but I guess better an overkill than missed instances