Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 06-12-2015, 06:36 PM   #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
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
phossler is offline   Reply With Quote
Old 06-12-2015, 10:48 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,317
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Use function mode.

http://manual.calibre-ebook.com/func...phenated-words
kovidgoyal is offline   Reply With Quote
Advert
Old 06-14-2015, 10:18 AM   #3
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
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
phossler is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 08:56 AM.


MobileRead.com is a privately owned, operated and funded community.