Is it possible to convert paragraph breaks in Word to line breaks?
When I paste text from Eclipse into Word, it puts each line on its own paragraph. Manually correcting these to line-breaks (shift+enter) is a hassle, is it possible to automate this?
I'm using Word 2008 for Mac if that makes a difference (but would like to know this for other versions of Word too if they differ).
http://support.microsoft.com/kb/214204
You can use the special characters listed in the "More Information" section of this article with the Find and Replace commands on the Edit menu.
You want to replace ^p
with ^l
(typed literally - the ^
character does not indicate CTRL in this instance), and wildcards must be off for this to work.
To search and replace in just a selection of text rather than the entire document, select the text, bring up the search and replace dialog, and ensure "Current document down" is selected. Now when you click "replace all" it will only search inside the selected text and will prompt you before performing replacements on the rest of the document.
Copy a paragraph break
and paste in the find
textbox. Copy a line break
and past in the replace
textbox. Click on replace all
.