View Single Post
Old 07-31-2013, 08:47 PM   #5
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
Also, if you want help with Regex, please post samples to test. Sometimes it is very hard to figure out exactly what is wanted.

Are we talking:

#1:

Quote:
It is immaterial whether the restriction of a recipe's use is made possible by institutional conditions--such as patents and copyright laws--or by the fact that a formula is kept secret and other people fail to guess it.
#2:

Quote:
It is immaterial whether the restriction of a recipe's use is made possible by institutional conditions -- such as patents and copyright laws -- or by the fact that a formula is kept secret and other people fail to guess it.
#3:

Quote:
It is immaterial whether the restriction of a recipe's use is made possible by institutional conditions-such as patents and copyright laws-or by the fact that a formula is kept secret and other people fail to guess it.
After #1:

Quote:
It is immaterial whether the restriction of a recipe's use is made possible by institutional conditions—such as patents and copyright laws—or by the fact that a formula is kept secret and other people fail to guess it.
After #2:

Quote:
It is immaterial whether the restriction of a recipe's use is made possible by institutional conditions — such as patents and copyright laws — or by the fact that a formula is kept secret and other people fail to guess it.
If it is #1 or #2, those can be done with a simple search and replace.

#3 will involve checking nearly every hyphenation in the book, and may or may not be worth it. I would recommend using the Sigil Spellchecker for that (Tools - Spellcheck - Spellcheck (Alt+Q)), and in the search box typing a hyphen. This will give you every single word with a hyphen in it (see attached image).

I recommend at least two passes when fixing hyphenation this way. First with "Show All Words" off, and then one pass with "Show All Words" on.
Attached Thumbnails
Click image for larger version

Name:	SpellcheckHyphens.png
Views:	176
Size:	12.6 KB
ID:	108776  

Last edited by Tex2002ans; 07-31-2013 at 08:49 PM.
Tex2002ans is offline   Reply With Quote