View Single Post
Old 12-22-2012, 06:52 AM   #2
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
Well, most part is relatively easy. In what program do you want to edit? In general you can say that if a line ends in a lower case letter or starts with a lower case letter, than the paragraph break is incorrect (not always true, but almost always). You can do that with a RegEx. The correct syntax really depends on the source document and the editing program.
If a new paragraph always starts with an indent, I think I can think of a S&R command to solve the remainder of the lines. Again, not a 100% garantuee, really depending on the programs you use.

If you tell us which program you use, we might be able to help you.
Toxaris is offline   Reply With Quote