![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
|
Too many hyphens
Trying to clean book from Project Guttenberg that must have stated life as a scan.
There are many mis-placed or not needed hyphens everywhere example 1: bat-tered example 2: $500,- 000 example 3: the cat and -the dog example 4: the cat- and the dog I've been using spellcheck, one mis-spelt word at a time Is there any RegEx's that have been used to at least take some of the tedium out of it? That way I could just [Find] and [Replace and Find] through the document Would really like a RE that would address common cases so I could do a [Replace All] Thanks |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,317
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
|
Thanks -- I was a little worried when I just went through using [Find] since it found the ending and starting > <, but once I puzzled my way though the function to try and understand the logic, a [Replace All] worked fine
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
kindle justification/hyphens | indieauthor83 | Kindle Formats | 9 | 03-04-2015 10:33 AM |
Soft hyphens on Windows | Styx | Calibre | 4 | 02-13-2015 04:26 AM |
Removing Soft hyphens | phossler | Sigil | 8 | 07-26-2013 03:52 PM |
Soft Hyphens | wallcraft | Workshop | 29 | 06-12-2012 04:21 AM |
Hyphens are not deleted | minorum | Conversion | 4 | 12-16-2011 04:03 AM |