Replace Paragraph Marks / Carriage Returns in 5 Steps

When you need to replace paragraph marks (end of paragraph) / carriage returns with other text,, LibreOffice and NeoOffice Writer all are able using the following 5 steps:

Replace Paragraph Marks / Carriage Returns in 5 steps

Note: If you don’t know how to get to the find / replace button above, hit Ctrol-F (Windows) or CMD-F (Mac). Alternatively, you can go to the ‘Edit’ Menu, and select ‘Find and Replace’.

There is also this great extension for Writer which allows you to do the above, as well as many other powerful find and replace searches.

Additional Resources


  1. Stephanie, thanks for this generous blog. God knows Libre/Open need it; there are some simple things that it seems are ridiculously laborious. My question: what if I want to replace text with a carriage return? Escaping the $ with a \ does nothing. I just get $’s instead of CRs.

  2. When replacing paragraph marks in LibreOffice using regular expressions, what does one enter for replacing with nothing?

    • Hi Daniel – I just leave the “Replace with” box blank. It has worked for me so far. It removes whatever it is you’re searching for (in the example above, in step 4, leave this blank and the paragraph marks will be removed). Let me know if you get a different result, and post back with your OS (Mac, Windows, Linux) and the version of LibreOffice that you are using. Thanks for visiting!

      • I am using LibreOffice 3.5 on Ubuntu.

        The purpose of my search and replace is to sift through the results of a bash script. It compares 5,000+ files on two different locations. If the pair match ok, the term ‘match’ is output on a line followed by a paragraph mark.

        At the time I perform Find & Replace, I specify ‘match$’ in the term to search for and leave the replace field blank. Upon execution, occurrences of ‘match’ are removed yet the paragraph mark remains. It is as though the search term is ‘match’ only.

        • I did a test for this and you appear to be right – match$ appears to be interpreted as match only.
          You may wish to try the extension mentioned here: (it works on my LibreOffice – I installed it on my Mac, and I’m using v 3.4.5)
          Using this extension, it works when I did a test and searched for ‘match’ as if it were the end of a word. The format for that was ‘match\>\p’

  3. Your advice saved me a whole day’s work – very ACCURATE – contrary to a lot of junk out there.
    (I have Ubuntu Linux – version 12.04 LTS and have LibreOffice
    Build ID: 350m1(Build:2).)
    THANK YOU!!!!!!!!!!!!!!!!!!!!!1 :-))))))))))))))))))))))))))))))

    Yes, I have bookmarked your site.

  4. Thanks. Most responses to this don’t understand what is being asked. Find $–Replace [space bar] to remove paragraph breaks that result from copying from Adobe Reader.

Speak Your Mind