Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
I like to cut discussions off Usnet and message boards and paste them
in Word docs for later reading. The problem is that there are certain headers with information I'd rather not include that always show up in a cut and paste, for example: View profile More options Apr 24, 8:20 am Newsgroups: microsoft.public.word.docmanagement From: t*** Date: Tue, 24 Apr 2007 06:20:01 -0700 Local: Tues, Apr 24 2007 8:20 am Subject: Making Windows Mail default for Word documents instead of Outlook Reply | Reply to author | Forward | Print | Individual message | Show original | Report this message | Find messages by this author Reply Reply to author Forward Rate this post: Is there a way I can eliminate all of this superfluous info using Word to just be left with the message text? |
#2
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
Joe:
Warning -- I'm not going to be very helpful here. Yes, you can certainly use Find and Replace, and especially the "Use wildcards" option to eliminate large chunks of unwanted material, provided you can identify where the chunks start and stop. But that's liable to vary a lot between different newsgroups. So most of the work is going to be up to you. I can only suggest that you teach yourself about Find and Replace, and about wildcard searches, then experiment to develop what you need. Also, learn to record macros and save the various searches you create. That way, you can run a series of different find and replace operations if needed to completely clean up a collection. See: http://word.mvps.org/faqs/general/UsingWildcards.htm Bear -- Windows XP, Word 2000 "Joe" wrote: I like to cut discussions off Usnet and message boards and paste them in Word docs for later reading. The problem is that there are certain headers with information I'd rather not include that always show up in a cut and paste, for example: View profile More options Apr 24, 8:20 am Newsgroups: microsoft.public.word.docmanagement From: t*** Date: Tue, 24 Apr 2007 06:20:01 -0700 Local: Tues, Apr 24 2007 8:20 am Subject: Making Windows Mail default for Word documents instead of Outlook Reply | Reply to author | Forward | Print | Individual message | Show original | Report this message | Find messages by this author Reply Reply to author Forward Rate this post: Is there a way I can eliminate all of this superfluous info using Word to just be left with the message text? |
#3
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
On Apr 25, 1:22 pm, Bear (nospam) wrote:
Joe: Warning -- I'm not going to be very helpful here. Yes, you can certainly use Find and Replace, and especially the "Use wildcards" option to eliminate large chunks of unwanted material, provided you can identify where the chunks start and stop. But that's liable to vary a lot between different newsgroups. So most of the work is going to be up to you. I can only suggest that you teach yourself about Find and Replace, and about wildcard searches, then experiment to develop what you need. Also, learn to record macros and save the various searches you create. That way, you can run a series of different find and replace operations if needed to completely clean up a collection. See:http://word.mvps.org/faqs/general/UsingWildcards.htm Bear -- Windows XP, Word 2000 "Joe" wrote: I like to cut discussions off Usnet and message boards and paste them in Word docs for later reading. The problem is that there are certain headers with information I'd rather not include that always show up in a cut and paste, for example: View profile More options Apr 24, 8:20 am Newsgroups: microsoft.public.word.docmanagement From: t*** Date: Tue, 24 Apr 2007 06:20:01 -0700 Local: Tues, Apr 24 2007 8:20 am Subject: Making Windows Mail default for Word documents instead of Outlook Reply | Reply to author | Forward | Print | Individual message | Show original | Report this message | Find messages by this author Reply Reply to author Forward Rate this post: Is there a way I can eliminate all of this superfluous info using Word to just be left with the message text? I was hoping there was a way to use a wildcard to eliminate a certain number of paragraph returns since the only consistent thing about these headers are the amount of lines. I don't need to remove all the lines but a large chunk would help. Is there a wildcard formula that would just erase a bunch of lines after for instances the word "newsgroups:"? |
#4
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
Joe:
I was trying to gently encourage you to figure it out for yourself. It's not terribly difficult, and Find and Replace (especially with wildcards) is so useful, you really ought to build your skills with them. The online help is okay, and you can get lots of great advice on the Word MVP FAQs site: http://word.mvps.org/faqs/general/UsingWildcards.htm Failing that, if you ckeck the Use Wildcards check box, the following Find What argument finds all the characters between the triple chevrons in the sample text you sent. \\\*\\\ The "*" means any number of any characters. You have to escape the "" character when using it in a wildcard search, so each one has to have the backslash before it. You would replace this with NULL, that is, you leave the Replace With box empty. Similarly, you can't use ^p in a wildcard search, so to find paragraphs, you need to enter the character number as ^13. To get all of the sample you sent, you'd use a Find What argument like: Newsgroups:*^13*^13*^13*^13*^13*^13*^13*^13*^13*^1 3*^13 With one repetition of *^13 for each group of text ending in a paragraph mark. Bear -- Windows XP, Word 2000 |
Reply |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Search and replace with wildcards | New Users | |||
Word Bug: Find/Replace wildcards while track changes is turned on is buggy | Microsoft Word Help | |||
Find & Replace--Wildcards | Microsoft Word Help | |||
Find & replace in headers and footers | Microsoft Word Help | |||
Find/Replace Wildcards | Microsoft Word Help |