Reply
 
Thread Tools Display Modes
  #1   Report Post  
Daiya Mitchell
 
Posts: n/a
Default How can I delete all blank lines from a plain text file?

Ouch. Thanks for catching that.


On 10/20/05 7:16 PM, "Suzanne S. Barnhill" wrote:

Replacing ^p with nothing will combine all the text into one huge paragraph.
What you want to do is replace ^p^p (two successive paragraph marks) with
^p. This will fail if there is any space on the blank line, so be sure to
display nonprinting characters (Ctrl+*) and look for spaces (dots). You can
remove those first by searching for space^p (where "space" indicates a
press of the Spacebar in the "Find what" box) and replacing with ^p.


--
Daiya Mitchell, MVP Mac/Word
Word FAQ: http://www.word.mvps.org/
MacWord Tips: http://www.word.mvps.org/MacWordNew/
What's an MVP? A volunteer! Read the FAQ: http://mvp.support.microsoft.com/

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Where did "print blank lines" option go in Office 2003??? Emily @ Siemons Mailmerge 1 April 26th 05 06:35 PM
Templates gman Page Layout 17 April 22nd 05 06:35 PM
How do I convert a "dragged and dropped" text file from an object. David Bartlett Microsoft Word Help 1 March 31st 05 08:53 PM
How to delete a blank text box from Word document? douginrrnm Microsoft Word Help 5 February 1st 05 04:59 AM
Import of text file olav Microsoft Word Help 1 December 6th 04 01:14 PM


All times are GMT +1. The time now is 02:10 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"