[Solved] Remove paragraph breaks

Discuss the word processor
Post Reply
Jessiebessie
Posts: 18
Joined: Fri Mar 31, 2023 2:13 pm

[Solved] Remove paragraph breaks

Post by Jessiebessie »

I have copied some text from a website and want to remove the paragraph breaks so the text flows better. How do I do it?
Last edited by MrProgrammer on Fri Jun 20, 2025 5:09 am, edited 2 times in total.
Reason: Tagged ✓ [Solved] Links to solutions provided
Open Office 4.1.11
User avatar
robleyd
Moderator
Posts: 5383
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: Removing paragraphs breaks

Post by robleyd »

A search of the forum for the phrase remove paragraph breaks turned up a number of solutions, including:

[Tutorial] Combine paragraph fragments with AutoCorrect
[Tutorial] How do I remove end_of_paragraph marks?
Slackware 15 64 bit
Apache OpenOffice 4.1.15
LibreOffice 25.2.4.3; SlackBuild for 25.2.4 by Eric Hameleers
---------------------
Roses are Red, Violets are Blue]
Unexpected '{' on line 32
.
User avatar
changlee
Posts: 4
Joined: Sat Aug 29, 2015 7:58 pm

Re: [Solved] Removing paragraphs breaks

Post by changlee »

If you need just the text, why do you just copy/paste it through notepad without formatting?
OpenOffice on Windows 10 | Save your backlinks :-)
User avatar
Hagar Delest
Moderator
Posts: 33362
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: [Solved] Removing paragraphs breaks

Post by Hagar Delest »

Because the original paragraphs are split and each line becomes a one-line paragraph when copied. It comes from the web site layout.
I guess a negation is missing in your question.
LibreOffice 25.2 on Linux Mint Debian Edition (LMDE Faye) and 24.8 portable on Windows 11.
User avatar
RoryOF
Moderator
Posts: 35064
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: [Solved] Removing paragraphs breaks

Post by RoryOF »

For short texts - i.e. less than 64KB in length, I use

Find \n
Replace <space character>
drop More options and select Regular expressions
the press Replace All.

There will almost always be some editing required.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.5 LTS
Post Reply