Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    I agree. MatthewH's Avatar
    Join Date
    Jul 2011
    Location
    North Carolina
    Posts
    3,481
    Points
    15,810
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Location
    North Carolina
    Posts
    3,481
    Points
    15,810

    Default I need help on replacing text...

    So basically, I have a large list of items (just over 2000 actually). They're not all the same name, so I can't use a find and replace tool. So, all of the items, though are after a similar character. The quotation (").

    Any ideas on how to select all the text and replace it with my own words?

    EDIT: What I mean by the post is say in this list we have...
    "Bread"
    "Eggs"
    "Butter"

    but I want every item to say...
    "Milk"

    So I would need to replace every word inside the quotations with Milk.

    0 Not allowed! Not allowed!
    Last edited by MatthewH; 04-16-2013 at 02:30 PM.


  2. #2
    Evolved Modder
    Living Liek Larry
    tony's Avatar
    Join Date
    May 2011
    Location
    Listen, strange women lyin' in ponds distributin' swords is no basis for a system of government.
    Posts
    6,309
    Points
    10,700
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Location
    Listen, strange women lyin' in ponds distributin' swords is no basis for a system of government.
    Posts
    6,309
    Points
    10,700
    Gamer IDs

    PSN ID: L33T_T0ny Steam ID: ToNy Wii Code: L33T_T0ny

    Default

    Quote Originally Posted by Coldfire202 View Post
    So basically, I have a large list of items (just over 2000 actually). They're not all the same name, so I can't use a find and replace tool. So, all of the items, though are after a similar character. The quotation (").

    Any ideas on how to select all the text and replace it with my own words?

    iv been looking for this for years. 2 to be exact

    But ill try making something like this, you search for text and then choose what to replace it with right?

    0 Not allowed! Not allowed!

  3. #3
    I agree. MatthewH's Avatar
    Join Date
    Jul 2011
    Location
    North Carolina
    Posts
    3,481
    Points
    15,810
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Location
    North Carolina
    Posts
    3,481
    Points
    15,810

    Default

    Quote Originally Posted by tony View Post
    iv been looking for this for years. 2 to be exact

    But ill try making something like this, you search for text and then choose what to replace it with right?
    Well, with over 2000 words. That would be difficult.

    0 Not allowed! Not allowed!


  4. #4
    Curret n3wbit
    Russ's Avatar
    Join Date
    Aug 2011
    Location
    California
    Posts
    3,193
    Points
    3,398
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Location
    California
    Posts
    3,193
    Points
    3,398
    Gamer IDs

    Gamertag: SSRunts PSN ID: DCCoexist Steam ID: dcrunts

    Default

    Try ("*) I know in access if you want something with the same beginning but not the samending you use the asterisk so try that.

    0 Not allowed! Not allowed!

    "Sense is not made like money, sense is had like heart, pride, and integrity."~Russ

  5. #5
    I agree. MatthewH's Avatar
    Join Date
    Jul 2011
    Location
    North Carolina
    Posts
    3,481
    Points
    15,810
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Location
    North Carolina
    Posts
    3,481
    Points
    15,810

    Default

    Quote Originally Posted by Coexist View Post
    Try ("*) I know in access if you want something with the same beginning but not the samending you use the asterisk so try that.
    Let me try that. Hold on.

    EDIT: Doesn't work. (frown)

    0 Not allowed! Not allowed!
    Last edited by MatthewH; 04-16-2013 at 02:22 PM.


  6. #6
    Evolved Modder
    Living Liek Larry
    tony's Avatar
    Join Date
    May 2011
    Location
    Listen, strange women lyin' in ponds distributin' swords is no basis for a system of government.
    Posts
    6,309
    Points
    10,700
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Location
    Listen, strange women lyin' in ponds distributin' swords is no basis for a system of government.
    Posts
    6,309
    Points
    10,700
    Gamer IDs

    PSN ID: L33T_T0ny Steam ID: ToNy Wii Code: L33T_T0ny

    Default

    Quote Originally Posted by Coldfire202 View Post
    Well, with over 2000 words. That would be difficult.
    well im 50% done....

    only issue with it is if you are looking for lets say.. 90 and you have a 900 in there you dont want to get rid of it will change the 900 to whatever you set it to replace (as an example if i set it to change it to 25 it would change to 250)

    0 Not allowed! Not allowed!

  7. #7
    I agree. MatthewH's Avatar
    Join Date
    Jul 2011
    Location
    North Carolina
    Posts
    3,481
    Points
    15,810
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Location
    North Carolina
    Posts
    3,481
    Points
    15,810

    Default

    Quote Originally Posted by tony View Post
    well im 50% done....

    only issue with it is if you are looking for lets say.. 90 and you have a 900 in there you dont want to get rid of it will change the 900 to whatever you set it to replace (as an example if i set it to change it to 25 it would change to 250)
    What I mean by the post is say in this list we have...
    "Bread"
    "Eggs"
    "Butter"

    but I want every item to say...
    "Milk"

    So I would need to replace every word inside the quotations with Milk.

    0 Not allowed! Not allowed!


  8. #8
    Aesthetic JesusLover666's Avatar
    Join Date
    Dec 2009
    Location
    /bin/laden
    Posts
    1,122
    Points
    2,368
         User Info     Contact     Gamer ID
    Join Date
    Dec 2009
    Location
    /bin/laden
    Posts
    1,122
    Points
    2,368

    Default

    Use Notepad++ and replace regex.

    Replace /".*?"/

    with "\"Your Text\""

    0 Not allowed! Not allowed!

  9. #9
    Evolved Modder
    Living Liek Larry
    tony's Avatar
    Join Date
    May 2011
    Location
    Listen, strange women lyin' in ponds distributin' swords is no basis for a system of government.
    Posts
    6,309
    Points
    10,700
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Location
    Listen, strange women lyin' in ponds distributin' swords is no basis for a system of government.
    Posts
    6,309
    Points
    10,700
    Gamer IDs

    PSN ID: L33T_T0ny Steam ID: ToNy Wii Code: L33T_T0ny

    Default

    Quote Originally Posted by Coldfire202 View Post
    What I mean by the post is say in this list we have...
    "Bread"
    "Eggs"
    "Butter"

    but I want every item to say...
    "Milk"

    So I would need to replace every word inside the quotations with Milk.
    idk then but im almost done the program -__-

    0 Not allowed! Not allowed!

  10. #10
    Wii U Section Moderator
    Computer Engineer
    MrOwnership's Avatar

    Badge

    Join Date
    Jun 2011
    Location
    Maryland
    Posts
    1,435
    Points
    2,862
         User Info     Contact     Gamer ID
    Join Date
    Jun 2011
    Location
    Maryland
    Posts
    1,435
    Points
    2,862
    Gamer IDs

    Steam ID: MrOwnership Wii Code: MrOwnership

    Default

    Make a macro using notepad++. Very easy.

    0 Not allowed! Not allowed!

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -10. The time now is 05:36 PM.
Powered by vBulletin®
Copyright © 2018 vBulletin Solutions, Inc. All rights reserved.