MICROSOFT OFFICE - WORD TIPS AND TRICKS : | FAQ
 
Welcome, Guest. Please login or register.

username, password for forums login
search for :
home windows linux mac os x software how-to features tech & tests forums blogs start page stp mail
windows software mac software linux software software tips software how-to features got a tip?  
HOME REVIEWS TIPS & GUIDES FORUMS BLOGS  

Clean Up Text in Word XP

Jun 1, 2006 11:28 AM

-----------------------------------------------------------------------------------------------------------

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:

  1. Replace ^l with ^p.
  2. Replace ^p_ with ^p (where the underscore represents a space).
  3. Replace _^p with ^p (again the underscore represents a space).
  4. Replace ^p^p with %$#@.
  5. Replace ^p with a space.
  6. 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

 

 

Bookmark del.icio.us digg Clean Up Text in Word XP Digg this! Share on Facebook

 


advertisement


  Read also
Clearing Web page HTML code created in Microsoft Word
Removing Word code from your Front Page web
Install OpenOffice.org Dictionary
Transfer of paragraph
 
search web for : Google Custom Search
home | forums | blog | web mail | windows | mac | linux | software spotlight | how-to features | techs & tests | web 2.0 reviews
Clean Up Text in Word XP Tip at SoftwareTipsPalace.com
About Us | Privacy Policy | Terms of Use | Advertising Info | Contacts | FAQ's | SiteMap   Software Tips and tricks rss
Copyright © 2008 SoftwareTipsPalace.com. All rights reserved.