How to search and replace carriage return with space
in Libre Office
First time here? Check out the FAQ!
I am using ver. 5.2.7.2 and cannot make this work at all. In a file like this........
ANDERSON, ANDREWS ARMSTRONG BALLANTINE BARBOUR BARBOURYOUNG BRADLEY BROWN CAMPBELL CARSON CHADWICK CHRISTIE CLARKE COCHRANE COLEHAMILTON
I am trying to add a comma at the end of each line
Did you notice
0 - that this is a different question?
1 - that there isn't a well defined thing like "end of the line" in word processors?
There are automatic line breaks, hard line breaks, and paragraph breaks.
2 - that you cannot replace automatic or hard linebreaks in the described way but only paragraph breaks?
3 - that you have to enter a comma (probably followed by a space) into 'Replace'?
Suppose you mean switching to new paragraph.
You can only replace all the paragraph shifts in a complete selection.
To do so
- select the range
- open 'Find & Replace'
- enter $ (nothing else) into 'Search'
- enter the replacement (in your case a space) into 'Replace'
- Check if options 'Current selection only' and 'Regular expressions' are checked
- hitt 'OK'
If your question was about hard line breaks: You find them with \n and you can combine this with other RegEx elements.
Asked: 2017-03-04 22:32:50 +0100
Seen: 3,374 times
Last updated: Jun 14 '17
How do you add bullets to an already number-bulleted group of statements? [closed]
Can I use Microsoft Publisher files with LibreOffice? [closed]
Alternating table column numbering, Col1 Numbers, Col2 Letters? [closed]
Are there any plans to improve image handling? [closed]
LibreOffice 3.5 Writer crashes when making PDF [closed]
How can I center the document in a Writer window? [closed]
How to change datasource in form letter / mail merge imported from MS-Word [closed]
Draft Layout option for Writer (aka Normal View) [closed]
Spell check breaks between Windows and Linux LO installs [closed]