View Single Post
Old 08-02-2013, 11:05 PM   #13
alansplace
Grand Sorcerer
alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.
 
alansplace's Avatar
 
Posts: 5,897
Karma: 464403178
Join Date: Feb 2010
Location: 33.9388° N, 117.2716° W
Device: Kindles K-2, K-KB, PW 1 & 2, Voyage, Fire 2, 5 & HD 8, Surface 3, iPad
Cool Thanks!

Quote:
Originally Posted by Tex2002ans View Post
There is also this regex that I use, but be warned again, this will find (nearly) every single hyphen... and takes forever to click through the entire book one by one.

This is why I initially recommended the Sigil Spellcheck method.

Search:

Code:
([A-Za-z])-([A-Za-z])
Replace:

Code:
\1—\2
This will work on hyphens like in my Case #3 above.
Oh thanks for that. I'd already tried that method before I started this thread and since it had almost 900 hits I decided not to proceed.

Concerning the spell checker in the Sigil that I use, 0.6.2, doesn't work like what you posted. I suppose you're using version 7.

alansplace is offline   Reply With Quote