1. This website uses cookies to improve service and provide a tailored user experience. By using this site, you agree to this use. See our Cookie Policy.
    Dismiss Notice

Word 2007 GURU Wanted!

Discussion in 'BlackHat Lounge' started by thefallendevelopment, Jun 16, 2009.

  1. thefallendevelopment

    thefallendevelopment Junior Member

    Joined:
    Aug 19, 2008
    Messages:
    190
    Likes Received:
    161
    Occupation:
    Slingin mail
    Location:
    Caddy Shack
    I have a HUGE word document that was written in notepad.

    The person took a book and wrote it in notepad and just put page numbers and kept typing.

    So now i have a 200 page book that's got '[Pg #]' all crammed together. Is there a way to find and replace this?

    I've looked everywhere and can't find anything. Not even wildcards work from what i understand.

    Anyone have an idea on how to fix this? I just want to mass take out all the '[Pg #]' within the document.



    EDIT: I got it! just use this code ^# and it finds any string of numbers. So in my case i would us [Pg ^#] and it found all instances.
     
    Last edited: Jun 16, 2009
  2. TheFounding

    TheFounding BANNED BANNED

    Joined:
    Jun 15, 2009
    Messages:
    16
    Likes Received:
    52
    I was just about to say the same! Glad you got it all figured out.
     
  3. thefallendevelopment

    thefallendevelopment Junior Member

    Joined:
    Aug 19, 2008
    Messages:
    190
    Likes Received:
    161
    Occupation:
    Slingin mail
    Location:
    Caddy Shack
    Actually the code i put in only finds single digits. No idea on how to do 10 on up to 200.

    Any ideas anyone?
     
  4. MrCatana

    MrCatana BANNED BANNED

    Joined:
    Mar 6, 2009
    Messages:
    200
    Likes Received:
    48
    I had an idea but it won't help you that much.

    Use the replace option and replace '[Pg' with ' '. and the same for ']'. After that you will have only problems with the #.

    If you have a book without numbers you can simply replace '1' with ' ', '2' with ' ' and so on...

    Or you can do it manually. 200 pages x 3 secs per edit = 600 sec.

    In 10 minutes you are finished.

    If my reply helped don't forget to hit the THANKS button. :smashfrea
     
  5. bluebook

    bluebook Newbie

    Joined:
    Dec 15, 2008
    Messages:
    13
    Likes Received:
    1
    Search for \[Pg*\]
     
    Last edited: Jun 16, 2009
  6. bluebook

    bluebook Newbie

    Joined:
    Dec 15, 2008
    Messages:
    13
    Likes Received:
    1
    deleted for multiple posts.
     
    Last edited: Jun 16, 2009
  7. bluebook

    bluebook Newbie

    Joined:
    Dec 15, 2008
    Messages:
    13
    Likes Received:
    1
    deleted for multiple posts.
     
    Last edited: Jun 16, 2009
  8. bluebook

    bluebook Newbie

    Joined:
    Dec 15, 2008
    Messages:
    13
    Likes Received:
    1
    mods please delete.
     
    Last edited: Jun 16, 2009
  9. bluebook

    bluebook Newbie

    Joined:
    Dec 15, 2008
    Messages:
    13
    Likes Received:
    1
    mods please delete.
     
    Last edited: Jun 16, 2009
  10. M2Money

    M2Money Newbie

    Joined:
    Nov 28, 2008
    Messages:
    34
    Likes Received:
    6
    [[]*[0-9][]]

    Use the above wildcard to find all instances of [Pg #] / [Pg ##] / [Pg ###]. Meaning, any number of digits within "[" & "]". Now, for the replacement? What do you need this to be replaced with?

    Let me know, i shall try to help!

    Tnx