Find and change using key / dictionary file



  • 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



  • @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.



  • 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.


Log in to reply