Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Find and change using key / dictionary file

    Help wanted · · · – – – · · ·
    2
    3
    186
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Grzegorz Kwiatkowski
      Grzegorz Kwiatkowski last edited by

      Hello all :)

      I use notepad ++ and I think it’s a great program.

      I use the find and change function very often.
      I see that you can change the expressions in the files.

      Is there an option to change the expression in a file, e.g. txt, but using a different file.

      I have file A where it has words to replace. Loads file B in which the whole list of words to change is saved.
      e.g. engine> motor
      gearbox> getriebe

      So that I would not have to change each word separately, and I could create a change key in the txt or csv file.

      Thank you for your answer.
      greetings
      Grzegorz from Poland

      Alan Kilborn 1 Reply Last reply Reply Quote 0
      • Alan Kilborn
        Alan Kilborn @Grzegorz Kwiatkowski last edited by

        @Grzegorz-Kwiatkowski

        There is no such feature, currently.

        Sometimes this is done via regular expression replacement, once the data is all put into one file.

        It could also be done with scripting, although I don’t know of an existing script that will do exactly what you seek.

        There is a script HERE that will “mark” text in one file from a list in another. (I’m currently working off-and-on to improve that script).

        That script could form the basis of a new script that could do what you want, but I’m sensing you’d like to see that functionality in Notepad++ itself, so the answer is unfortunately, no, it doesn’t exist.

        1 Reply Last reply Reply Quote 0
        • Grzegorz Kwiatkowski
          Grzegorz Kwiatkowski last edited by

          I found the Advanced Fin and Replace program. However, I was hoping that a brilliant notepad ++ can do that too. I would have one program less on my list;)

          Thank you for your help.

          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          Copyright © 2014 NodeBB Forums | Contributors