How to Remove Carriage Returns From Text

Sometimes referred to as "carriage returns," line breaks are a central component of all word-processing and text-editing programs. Without them, you could not create paragraphs or lists, or separate your content into sections. For most documents, the manual removal of a line break is a quick task; pressing the "Backspace" key once or twice solves the problem. For blocks of text with hundreds or thousands of line breaks, however, this method is often too time-consuming. Fortunately, OpenOffice.org Writer, Notepad++ and Microsoft Word all support the automated removal of line breaks.

...
Automatically remove carriage returns from a block of text.

Using OpenOffice.org Writer

Step

Copy and paste your text into an OpenOffice.org Writer document.

Step

Click "Tools" in the top menu bar and select "AutoCorrect."

Step

Select the "Options" tab.

Step

Check the box labeled "Combine single line paragraphs if length greater than 50%."

Step

Click "OK."

Step

Press the "Ctrl" and "A" keys simultaneously to highlight the text.

Step

Click "Format" in the top menu bar and select "Default Formatting."

Step

Click "Format" again, select "AutoCorrect" and choose "Apply."

Using Notepad++

Step

Copy and paste your text into a Notepad++ document.

Step

Highlight a single line break by single-clicking at the start of one line, dragging up to the end of the previous line, and releasing your click.

Step

Press the "Ctrl" and "C" keys simultaneously to copy the line break.

Step

Press the "Ctrl" and "H" keys simultaneously to open the "Replace" menu.

Step

Click within the "Find What" field, press the "Ctrl" and "V" keys simultaneously to paste the line break, and click the "Replace All" button. Leave the "Replace With" field blank.

Using Microsoft Word

Step

Copy and paste your text into a Microsoft Word document.

Step

Press the "Ctrl" and "F" keys simultaneously and then select the "Replace" tab.

Step

Click the "More" button.

Step

Click within the "Find What" field, and then click the "Special" button and select "Manual Line Break."

Step

Click "Replace All."