Results 1 to 6 of 6
  1. #1
    New Lounger
    Join Date
    Oct 2001
    Location
    Las Cruces, New Mexico, USA
    Posts
    23
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Finding/deleting blocks of text (Word 2000)

    Is it possible to automatically find every occurrence of a long text string which is repeated throughout a document and replace it with nothing? I'm trying to archive lengthy email correspondence, and one of the blocks would consist of the text signature which takes up some 8 lines of space. I'd also like to find the repetitive routing lines and replace them with nothing. Seems like there ought to be a way to highlight one occurrence of such "garbage" and paste it into the Find box of the Find/Replace function, but I haven't been able to figure this out. Any help would be welcome!
    Thanks,
    Gini

  2. #2
    Silver Lounger Charles Kenyon's Avatar
    Join Date
    Jan 2001
    Location
    Sun Prairie, Wisconsin, Wisconsin, USA
    Posts
    2,049
    Thanks
    124
    Thanked 119 Times in 116 Posts

    Re: Finding/deleting blocks of text (Word 2000)

    Have you tried selecting (highlighting) and copying the garbage you have in mind and pasting it into the "find what" window? If that isn't working, what is probably the problem is the special end-of-line characters or end-of-paragraph marks.

    Try first selecting the entire email and using Format => AutoFormat... <img src=/S/puke.gif border=0 alt=puke width=60 height=15> with the email setting. This should normalize the end-of line marks and may delete many of them.

    The find/replace special character for a manual line break in word is ^l, for an end-of-paragraph mark it is ^p.

    Hope this helps. If not, you may want to take a look at the <A target="_blank" HREF=http://mvps.org/word/> Word MVP FAQ</A> site and search for "replace" and "wildcards."
    Charles Kyle Kenyon
    Madison, Wisconsin

  3. #3
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Finding/deleting blocks of text (Word 2000)

    Hi Gini:

    Check out <A target="_blank" HREF=http://www.wopr.com/cgi-bin/w3t/showthreaded.pl?Cat=&Board=wrd&Number=82517&page=& view=&sb=&o=&vc=1#Post82517>this</A> post for a very useful way to delete duplicate paragraphs.

    Hope this helps.

  4. #4
    New Lounger
    Join Date
    Oct 2001
    Location
    Las Cruces, New Mexico, USA
    Posts
    23
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Re: Finding/deleting blocks of text (Word 2000)

    Thanks for the responses! I did try pasting the text signature line in the Find What box, and that works to the limited extent that I can at least locate the beginning of each signature "box" (starts with a line of the = character). I couldn't paste the whole thing, apparently, as suggested, because of the internal paragraph codes. As for the Internet routing garbage, so far my best solution seems to be just locating the beginning of each ( there appears such common phrases as "Return-Path:" or "TimeoutProtection" near the start of a new email), and then selecting and deleting each routing sequence manually. Since I have some 370 pages to clean up, this remains quite a task. This forum has already been invaluable, however, as I hadn't been familiar with the Repeat Find methods!

  5. #5
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Finding/deleting blocks of text (Word 2000)

    Gini:
    If you can find a unique beginning & end of the text to be deleted, then you CAN do this quickly with Find/Replace.
    Using Wildcards:
    Find: "beginning text"*"ending text" (without quotes)
    Replace: nothing

    By the way, a paragraph mark can be found by using ^p (without wildcards) or ^13 (with wildcards).

    If you have problems, why don't you paste the exact text that you wish to delete here.

  6. #6
    New Lounger
    Join Date
    Oct 2001
    Location
    Las Cruces, New Mexico, USA
    Posts
    23
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Re: Finding/deleting blocks of text (Word 2000)

    Phil,
    This is what I ended up doing, and it worked well where I could pick a unique ending. Thanks again for your help!
    Gini

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •