Computing.Net > Forums > Office Software > MS Word - line-break problem

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

MS Word - line-break problem

Reply to Message Icon

Name: wendy926
Date: August 20, 2003 at 15:21:10 Pacific
OS: win98
CPU/Ram: ?
Comment:

Hi, I have a large .txt file of which I'm trying to format because all the sentences in the txt file have early line-breaks, like this:

This is an example
of how the paragraphs
look like in notepad.
All short and they
don't stretch far
enough to touch both
sides of the margins.

I tried word-wrapping in Notepad, but it didn't work because it seems like the line-breaks have been manually inserted in the first place.

I realized the only way to change the format of the text is to back-space at the beginning of each line, but it's impossible to do with almost 80 or 90 pages of text I have...

Is there anyway to fix that problem with any version of Microsoft Word? Or any other program? Would somebody please kindly help me out?

Thank you in advance.



Sponsored Link
Ads by Google

Response Number 1
Name: taxi
Date: August 21, 2003 at 01:39:01 Pacific
Reply:

hello,
copy /paste all text in word. Next select top of text, clic Edit/replace use "special" choose the "block markin"or the appropriate sign, and replace it by either a space, or nothin. It works fine for me


0

Response Number 2
Name: wendy926
Date: August 21, 2003 at 09:43:07 Pacific
Reply:

Hey taxi, thanks a lot for helping us out here. I tried what you suggested and it's really working out. But the only thing is when I pick "replace all...", all the paragraphs are crunched up into one. I can't think of any other solution besides selecting each paragraph separately and then pick "replace all.." but there are about a 90 pages to go through.. just wondering if you've encountered the same problem before and what did you do to go around it..

Thanks a lot for your help!


0

Response Number 3
Name: wizartd-fred
Date: August 21, 2003 at 17:34:16 Pacific
Reply:

If a paragraph is delimited by 2 carriage return line feed pairs (block markers), replace that first with a special delimiter (example [para]), then replace the single line endings with the space.
Then replace the special delimiter with two line endings to restore the paragraph spacing.


0

Response Number 4
Name: Taxi
Date: August 22, 2003 at 00:21:07 Pacific
Reply:

yes
But I have it in 2 times : 1st I replace each block markin by a space.
Next I replace each "2 blanks" by "1 block markin". Of course i suppose u've got a blank line (and only 1) to separate a block, and that there's no double spacin in the text...
Think u can have it and coulda make a piece of all ur job...!


0

Response Number 5
Name: wizard-fred
Date: August 22, 2003 at 20:43:26 Pacific
Reply:

To have 1 blank line you need 2 carriage return/line feeds.

You first replace the 2 line feeds with a para marker to mark the paragraphs.
Then you replace the single line feeds with a space.
You then may replace 2 spaces with a single space.
Then you replace the para marker with 2 line feeds to restore the paragraphs.


0

Related Posts

See More



Response Number 6
Name: Taxi
Date: August 23, 2003 at 08:35:41 Pacific
Reply:

Think wendy's right now....


0

Response Number 7
Name: wendy926
Date: August 27, 2003 at 11:51:42 Pacific
Reply:

Hey wizard-fred and taxi, thanks a lot for your help! I went ahead and searched for two consecutive paragraph markers and replaced them with one. This "search and replace..." function does indeed save us a lot of time. Thanks again for the wise suggestion.

Wen.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Sheet Existence Checking ... error no. 0x800ccce



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Office Software Forum Home


Sponsored links

Ads by Google


Results for: MS Word - line-break problem

MS Word 2000 - embarassing problem! www.computing.net/answers/office/ms-word-2000-embarassing-problem/6803.html

MS Word Spelling & Grammar problem! www.computing.net/answers/office/ms-word-spelling-amp-grammar-problem/1621.html

Clarisworks files to MS word file c www.computing.net/answers/office/clarisworks-files-to-ms-word-file-c/8179.html