[Solved] Need help removing manual line breaks in cell

Discuss the spreadsheet application
Post Reply
RonR1965
Posts: 6
Joined: Mon Jul 09, 2018 1:53 am

[Solved] Need help removing manual line breaks in cell

Post by RonR1965 »

Have a page of data that I copy and pasted from the internet into calc. I have a couple columns that have text with manual line breaks in them and I need to remove them. have tried find & replace but don't know how to find the page break. This is driving me nuts.
Last edited by RoryOF on Tue Jul 10, 2018 10:22 pm, edited 1 time in total.
Reason: Added [Solved] and green tick [RoryOF, Moderator]
open office version 4.1.5
Windows 10
User avatar
MrProgrammer
Moderator
Posts: 4906
Joined: Fri Jun 04, 2010 7:57 pm
Location: Wisconsin, USA

Re: Need help removing manual line breaks in cell

Post by MrProgrammer »

Hi, and welcome to the forum.
RonR1965 wrote: have a couple columns that have text with manual line breaks in them and I need to remove them.
Edit → Find & Replace → More Options → ✓ Regular Expressions → Search for → \n → Replace with → {YourChoiceForReplacement}

Remember that you can use Edit → Undo if the replace operation creates unexpected results.

If this solved your problem please go to your first post use the Edit button and add [Solved] to the start of the title. You can select the green checkmark icon at the same time.
Mr. Programmer
AOO 4.1.7 Build 9800, MacOS 13.6.3, iMac Intel.   The locale for any menus or Calc formulas in my posts is English (USA).
RonR1965
Posts: 6
Joined: Mon Jul 09, 2018 1:53 am

Re: Need help removing manual line breaks in cell

Post by RonR1965 »

Thank you so much. You saved me weeks of work.
open office version 4.1.5
Windows 10
Post Reply