How do I replace text with a new paragraph

I have tried Find & Replace and Alternate Find &replace. I want to replace the text \r that appears many times in a document with a new paragraph. In find & replace I can find the text but donot know how to replace it with a new paragraph. In Alt find & replace it will not find the text \r so I can replace it with a new paragraph.

Hi

The “problem” is that to replace with a new paragraph you have to use regular expression and \ is one of the “code” used in regular expression. So the solution is to say to LibreOffice, do not consider \ as a code but as a character. So:

Edit▸Find & Replace

  • Find: \\r
  • Replace: \n
  • Other options: tick Regular expressions

Regards

Thank you for this answer. It works!

Try Alternative Dialog Find and Replace (AltSearch) extension.