Today, while doing a bit of data processing, I required to delete all the line breaks (carriage return) in an MS-Word document and replace them with a comma. I was processing a long list of email addresses with one email address per line. I wanted this list to become a comma separated list (CSV).
In MS-Word, the paragraph break or line break is represented by invisible character (¶) which looks like a flipped P. You can toggle the visibility of this character by clicking a button given on the Home tab in M Word. The button bears the same symbol.
How to Remove Line Break / Paragraph Break
- Open the Word document that you want to work on
- Press CTRL + F to bring up the “Find and Replace” box
- Click on the Replace tab in the box
- In “Find what” box type ^p [this upward arrow character is called carrot and is usually available on a number key]
- In “Replace with” box type a comma
- Click on Replace All button.
All the line breaks in you document will get replaced by a comma. You can use whatever character(s) you like in “Replace with” box. For example, if you want to replace every line break with two line breaks –then you should type ^p^p in “Replace with” box.
If you simply want to remove line breaks; just leave the “Replace with” box blank. You’ll get a monolithic chunk of text!
NOTE: This article is part of our MS Word Guide. This guide solves your day to day MS Word problems. Easily!