removing white space and hard returns?

G

gaikokujinkyofusho

Hi, is there a way in MS Word to remove white space and hard returns?
What i had in mind is changing something like this

In the aftermath of devastating tsunamis that struck several
South and
South-East Asian countries on December 26, 2004, the United Nations
Population
Fund (UNFPA) is calling on governments, sister United Nations agencies,

and
other humanitarian partners to ensure that the special needs of women
and girls
are factored into all short- and medium-term relief planning.

into something like this:

In the aftermath of devastating tsunamis that struck several South and
South-East Asian countries on December 26, 2004, the United Nations
Population Fund (UNFPA) is calling on governments, sister United
Nations agencies, and other humanitarian partners to ensure that the
special needs of women and girls
are factored into all short- and medium-term relief planning.

or is that possible (w/o manually doing it). Thanks for any
suggestions anyone can come up with!

Cheers

-Gaiko
 
G

GEO Me

Hi, is there a way in MS Word to remove white space and hard returns?

The text below was originallly posted by Alfonso:
Message-ID: <[email protected]>
9 Dec 2003

----------------------------------------
This is a very useful and cool way to remove carriage returns and
extra spaces from pasted text in WORD (from PC Magazine):


Clean Up Text in Word
By Neil J. Rubenking
January 1, 2003


Q: I sometimes copy and paste articles from the Internet to Microsoft
Word 2002. Unfortunately, the text often has odd formatting and a
carriage return at the end of each short line of text, making the
entire article twice or three times as long when printed. Is there a
way to remove all the carriage returns at once, instead of deleting
them line by line? --David A. Bellnier

A: This is a common problem, and it does not have a built-in solution.
To start, ensure that a blank line always appears between actual
paragraphs. Then press Ctrl-H and clean up the document using Find and
Replace as follows:

Replace ^l with ^p.
Replace ^p_ with ^p (where the underscore represents a space).
Replace _^p with ^p (again the underscore represents a space).
Replace ^p^p with %$#@.
Replace ^p with a space.
Replace %$#@ with ^p^p.

In the Find and Replace dialog, ^l represents a new line and ^p
represents an actual paragraph mark, corresponding to and in HTML. The
first step replaces any new-line characters with proper paragraph
marks. The blank lines separating the document's true paragraphs will
appear as a pair of paragraph marks.

Steps 2 and 3 ensure that the paired paragraph marks aren't missed
because of an intervening space. In step 4, we replace the paired
paragraph marks with a text string that does not otherwise appear in
the document. Step 5 corrects the formatting by replacing each
remaining lone paragraph mark with a space, and step 6 restores the
correct paragraph marks.

If this process works well for you, you'll want to record it as a
macro so you can apply it at will. I use such a macro myself for
cleaning up the e-mailed questions in User to User.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top