Is there a plugin, witch do multiple "search and replace"?
-
I must reproduct a text config file in many times, but with different data, so I need a plugin, witch can do multiple “search and replace” by a source.
Example:
variables: [x], [y], [z] and the goal is that, change these in files for:
replaced by “AAAAA”, [y] replaced by “dfhre”, [z] replaced by “754h”
replaced by “DSADSA”, [y] replaced by “555”, [z] replaced by “buzzf”
replaced by “sdfg”, [y] replaced by “asd”, [z] replaced by “54321”
and so on…The best is that if the source can be an excel file, example column A for the variables (like [x], [y]. [z]) column B to file1 data, column C to file2 data.
So example:
A1: [x]
B1: AAAAA
C1: DSADSAAnd if I run this plugin/script, it generates file1.txt and file2.txt as outputs from sourcefile.txt, but with the variables changed.
Is there a plugin, which is about to do so?
Thanks! -
if you already use an excel file why not using it’s internal language (VBA I assume)?
Does it really make sense using npp for this?Cheers
Claudia