View Single Post
Old 07-20-2011, 06:58 PM   #12
scubaddictions
Member
scubaddictions began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jul 2011
Device: Smartphone
Quote:
Originally Posted by Starson17 View Post
...I often replace all double line breaks with the text string "parapara," then I replace all remaining single line breaks with a space, then go back and replace all the "parapara" strings with a single break. I was suggesting a variation of that approach for Notepad++.
Ok, I understand that part. The problem I'm having though doesn't deal with double line breaks, I'm not trying to remove blank lines or put paragraphs back together. The problem texts I'm dealing with only have single line breaks. Some of them are original and required, some are not from the original text and stuck into the middle of a sentence. For example:

This is not a broken sentence. This sentence, however
is broken in the middle. I'd like to fix it if at all possible.
"Do you want broken sentences?" Bill asked.
Jimmy replied "No, I do not".

This paragraph has only single line breaks, four of them. Three of them are as author intended, breaking up text onto different lines so it doesn't run together. One of them (after the word "however") is not what the author wanted, it was added during some later editing to fit the borders of of some other format.

The Find/Replace searches from my first post fix this by finding lines that either begin with or end with a lower case letter. Seems to work near perfectly. I can't figure out any other way to Find/Replace only the unintended single line breaks.

Ideas? Thanks!
scubaddictions is offline   Reply With Quote