Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.formatting.longdocs
Joseph Geretz
 
Posts: n/a
Default How to eliminate line-breaks but preserve blank lines?

I received a basic Notepad file which I need to convert to Word. The Notepad
file contains unwanted line-breaks which break every line at about 60
characters. I want to eliminate all line breaks except for line-breaks
immediately before and after a blank line, since these are effectively
paragraph separators. How can I do this?

Thanks very much for your help.

Joseph Geretz


  #2   Report Post  
Posted to microsoft.public.word.formatting.longdocs
Joseph Geretz
 
Posts: n/a
Default How to eliminate line-breaks but preserve blank lines?

Just to clarify: The marks at the end of each line are paragraph markers,
each paragraph is separated by a blank line.

Here's how I worked around this:

Replace: -^p with Nothing. (Eliminates hyphenated words)
Replace: ^p with Space. (Eliminates hard line-breaks)
Replace SpaceSpace with ^p^p (Restores paragraph breaks)

I think this took care of 98% of my formatting needs, but now I'll have to
scan through this and make minor adjustments. I guess there's got to be a
better way?

Thanks,

Joseph Geretz

"Joseph Geretz" wrote in message
...
I received a basic Notepad file which I need to convert to Word. The
Notepad file contains unwanted line-breaks which break every line at about
60 characters. I want to eliminate all line breaks except for line-breaks
immediately before and after a blank line, since these are effectively
paragraph separators. How can I do this?

Thanks very much for your help.

Joseph Geretz



  #3   Report Post  
Posted to microsoft.public.word.formatting.longdocs
Jay Freedman
 
Posts: n/a
Default How to eliminate line-breaks but preserve blank lines?

Hi Joseph,

The next time you have this kind of job to do, see
http://www.word.mvps.org/FAQs/Format...eanWebText.htm.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.

On Sat, 19 Nov 2005 21:45:42 -0500, "Joseph Geretz"
wrote:

Just to clarify: The marks at the end of each line are paragraph markers,
each paragraph is separated by a blank line.

Here's how I worked around this:

Replace: -^p with Nothing. (Eliminates hyphenated words)
Replace: ^p with Space. (Eliminates hard line-breaks)
Replace SpaceSpace with ^p^p (Restores paragraph breaks)

I think this took care of 98% of my formatting needs, but now I'll have to
scan through this and make minor adjustments. I guess there's got to be a
better way?

Thanks,

Joseph Geretz

"Joseph Geretz" wrote in message
...
I received a basic Notepad file which I need to convert to Word. The
Notepad file contains unwanted line-breaks which break every line at about
60 characters. I want to eliminate all line breaks except for line-breaks
immediately before and after a blank line, since these are effectively
paragraph separators. How can I do this?

Thanks very much for your help.

Joseph Geretz


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
double window envelope tpdebronsky Page Layout 5 May 18th 23 08:51 PM
How do I eliminate manual line breaks in a copied document kenc Microsoft Word Help 2 September 15th 05 08:03 PM
How do I skip line numbering on blank lines? MKA Page Layout 3 May 31st 05 02:05 PM
How to skip line numbers for all blank lines in a document Winnipegger Page Layout 1 February 25th 05 04:27 AM
Change Line Count to not count blank lines Carol Microsoft Word Help 4 November 27th 04 01:46 PM


All times are GMT +1. The time now is 02:00 PM.

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"