Thursday, 29 March 2018

openoffice writer - Using search and replace to remove line breaks in Open Office


I've imported a document into Open Office and it has a number of hard returns in wrong places. In MS Word, I could use the search and replace to simply get rid of them all easily, but Open Office's search won't find them. I tried /n with the 'use regular expressions' box checked, but it seems that only looks for 'shift-enter' breaks and not ordinary hard returns. Is there another way to remove them all quickly, or do I have to go manually through the document and remove each one individually. This is a surprising oversight for Open Office.



Answer



Find & Replace in Writer can only search within a paragraph, but cannot search across a paragraph break.


You might give a try to the extension Alternative dialog Find & Replace for Writer by Tomas Bilek, which is reported as capable of searching across paragraphs.


No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...