Ask Your Question

Find and remove line breaks

asked 2020-06-27 14:05:28 +0200

toekneep gravatar image

updated 2020-07-09 19:28:38 +0200

Alex Kemp gravatar image

I am trying to create a CSV file from badly formatted text file and need to remove line breaks in places

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2020-06-27 14:39:14 +0200

ajlittoz gravatar image

IMHO this is not a task for Writer.

If there is no pattern in the occurrence of line break, use a text editor and proceed manually.

If you discover a pattern, use a regular expression in the editor or an external tool like awk, gawk or similar.

Citing your OS would allow more specific suggestions.

To show the community your question has been answered, click the ✓ next to the correct answer, and "upvote" by clicking on the ^ arrow of any helpful answers. These are the mechanisms for communicating the quality of the Q&A on this site. Thanks!

In case you need clarification, edit your question (not an answer) or comment the relevant answer.

edit flag offensive delete link more


Thanks. I have now discovered regular expressions in find and replace and I am making progress.

toekneep gravatar imagetoekneep ( 2020-06-27 14:43:58 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2020-06-27 14:05:28 +0200

Seen: 30 times

Last updated: Jun 27