Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If I copy paste from a document into MS Word and previous document had a bunch of 'new lines' to format the text, which cause the text to be oddly formatted (lines skip to a new line without reaching the end of the line). Is there a quick way to reformat the the text in MS Word to get rid of non-needed new lines?

Version: MS Word 2007


This question has many possible answers, and is the sort of open‐ended
question that interviewers occasionally ask. A good answer to this question might
include identifying the portion of the program in which the bug appears to be
occurring based on its behavior, as well as using breakpoints and a stepper to step
through the program. Any answers that involve thinking about possible sources of
the problem and finding ways to limit the search scope of the bug are good answers.
share|improve this question
Do you have a small screenshot or example of text? – Brad Patton Apr 1 '13 at 17:19
What version of Word? – techturtle Apr 1 '13 at 17:23
Added example and version (Ms word 2007) – Nickolay Kondratyev Apr 1 '13 at 17:37
up vote 2 down vote accepted

You can do this quickly with Word's built-in find/replace tool. In the find box, use ^p to replace full carriage returns, and ^l to find line breaks. Be careful not to run them on the entire document or it will remove any legitimate breaks.

You can replace the ^p or ^l with nothing, effectively just deleting them, but I usually replace them with spaces. Otherwise it will often run the last word of the upper line into the first word of the lower line after the replacement.

share|improve this answer

The problem lies with the creator of the content, as they are erroneously inserting line-breaks (e.g. <br />) into their content instead of letting the medium (browser, word, etc.) determine how to properly format the paragraph flow.

Since the content is coming pre-formatted with these line-breaks inserted in them, you need a way to paste the values sans-formatting, or remove the formatting altogether.

There are several solutions you can employ depending on your situation:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.