Advertisement

There's no such thing as a stupid question, but they're the easiest to answer.
Login
Search

Advertisement

Business Applications Business Applications
Search Search
Search for:
Tech Support Guy > > >

Editing Carriage Return Characters in a Word 2007 Document


(!)

laneseda's Avatar
laneseda laneseda is offline
Senior Member with 183 posts.
THREAD STARTER
 
Join Date: Mar 2006
Experience: Beginner
08-Sep-2008, 08:37 AM #1
Editing Carriage Return Characters in a Word 2007 Document
Hello,

My system:
MS Windows XP Home fully updated
MS Office 2007 fully updated

The issue:
I have been sent a very large Word file. Unfortunately, every line of text in the file is terminated with a "print" (^P) character, and every paragraph ends with two such characters. As an example, a paragraph of text would look like this:
Terrorism works, to a large extent, because(^P)
terrorists use the media to(^P)
ensure their cause receives the publicity they desire.(^P)
(^P)
The question:
How do I go about removing all the carriage return (^P) characters at the end of every line while retaining the same character (the second ^P) to keep the paragraphs apart?

All suggestions will be gratefully received.

Thanks in advance.
Lane
jimr381's Avatar
Computer Specs
Member with 4,175 posts.
 
Join Date: Jul 2007
Location: Vienna, VA
Experience: Computer Illiterate
08-Sep-2008, 09:48 AM #2
Here is what I would do. I would find all of the Carriage returns and replace them with line breaks, then I would follow that up by finding all the double line breaks and replacing them with a single carriage return.
laneseda's Avatar
laneseda laneseda is offline
Senior Member with 183 posts.
THREAD STARTER
 
Join Date: Mar 2006
Experience: Beginner
10-Sep-2008, 06:55 AM #3
Thank you, jimr381, for taking the time to reply to my query. I'll do as you suggest. I may have to do this in stages as the file in question is very large, approximately 16 MB.

Regards,
Lane
Noyb's Avatar
Noyb   (Jay) Noyb is offline Noyb is a Trusted Advisor with special permissions.
Computer Specs
Trusted Advisor with 19,368 posts.
 
Join Date: May 2005
Location: Kokomo, IN
10-Sep-2008, 07:26 AM #4
Can't you do a replace using special characters ..
and replace all doubles with a single ..
Attached Thumbnails
Editing Carriage Return Characters in a Word 2007 Document-clipboard01.gif  

Last edited by Noyb; 10-Sep-2008 at 07:39 AM..
jimr381's Avatar
Computer Specs
Member with 4,175 posts.
 
Join Date: Jul 2007
Location: Vienna, VA
Experience: Computer Illiterate
10-Sep-2008, 08:02 AM #5
Quote:
Originally Posted by Noyb View Post
Can't you do a replace using special characters ..
and replace all doubles with a single ..
Aye Noyb he can, but I think he also wants to get rid of the paragraph markers between the line items and replace them with soft returns.
CarolinaBill's Avatar
CarolinaBill CarolinaBill is offline
Member with 164 posts.
 
Join Date: Jan 2006
Experience: Semi-advanced
11-Sep-2008, 07:12 PM #6
I do this from time to time in Word Perfect but the principal applies equally here. You have to Find and Replace in steps.
1. Replace all occurrences of a double line break or hard return with some arbitrary symbol (or symbols) that is not likely to be in the text, for example, "!" This isolates and removes the paragraph identification.
2. Replace all occurrences of a single hard return with a space plus soft return, or line break, or whatever you choose. This takes care of all the lines within a paragraph.
3. Replace all of your special symbols with a double hard return. This restores the paragraph structure.
By Replacing All, you can very rapidly go through a large document. Then there will probably need to be some manual adjustment of exceptions after that.
As Seen On

BBC, Reader's Digest, PC Magazine, Today Show, Money Magazine
WELCOME TO TECH SUPPORT GUY!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.


(clock)
THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


WELCOME
You Are Using: Server ID
Trusted Website Back to the Top ↑