Community

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

    Is there a plugin, witch do multiple "search and replace"?

    Plugin Development
    2
    2
    2176
    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.
    • Attila Schulcz
      Attila Schulcz last edited by

      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: DSADSA

      And 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!

      Claudia Frank 1 Reply Last reply Reply Quote 0
      • Claudia Frank
        Claudia Frank @Attila Schulcz last edited by

        @Attila-Schulcz

        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

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