Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 1 down vote accepted

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.

share|improve this answer
worked like a charm. – chrisfs Jan 15 '11 at 21:53

Click More options and select Regular Expressions, then use $ in the find box to locate and select paragraph breaks. If you do not put anything in the Replace box, it will delete them. Or you could put a space in the Replace box.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.