Regular Expression To Remove Consecutive Paragraph End Symbols
I have a long, long document (864 pgs) that, as a result of the conversion of the original book, has placed a single word (God) on a line all by itself. There are hundreds of these occurrences, and I want to correct them all with one Find and Replace. I have not figured out how to do that in the built-in Find and Replace (using Regular Expressions) for Writer, but I did figure out how to do it using the Alternative Search extension.
Here is an example of the perpetually isolated-to-line-of-its-own word:
So, I want to remove the paragraph marks ( ¶ ) after: "...Glory of (sp)", and after "God" in the next line, to bring the first three lines (as depicted) together as one.
- Assuming you have already downloaded and installed Alternative Search for LibreOffice Writer, the first step is to open Alternative Search. Then style your search like this: (in the Replace box, type in God followed by a space. If your wind up with some double spaces, you can clean them up later.)
- Click on "Replace All."

Comments
Post a Comment