View Single Post
Old 10-02-2009, 11:57 AM   #6
Phil_C
Addict
Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.
 
Phil_C's Avatar
 
Posts: 236
Karma: 391602
Join Date: Oct 2009
Location: Chicago, IL USA
Device: Sony PRS-350; Kobo Clara HD; Kobo Clara 2E
Quote:
Originally Posted by Jellby View Post
Maybe something like:

Search for any number of line breaks, followed by any number of digits, followed by any number of line breaks, followed by a lower case letter (and save this letter). (In vim: '\n\+\d\+\n\+\(\l\)')

Replace it with a space an the lowercase letter: (in vim: ' \1')

Then manually check the instances of something else instead of the lowercase letter to see whether or not they are broken sentences/paragraphs.
I can't get that or variations to do anything in Book Cleaner. Is "vim" different from Regular Expressions? The only reference I have is the list of Reg Exp in the Book Designer help section.
Phil_C is offline   Reply With Quote