Community
    • 登入

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

    已排程 已置頂 已鎖定 已移動 Notepad++ & Plugin Development
    2 貼文 2 Posters 2.6k 瀏覽
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • Attila SchulczA
      Attila Schulcz
      最後由 編輯

      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 FrankC 1 條回覆 最後回覆 回覆 引用 0
      • Claudia FrankC
        Claudia Frank @Attila Schulcz
        最後由 編輯

        @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 條回覆 最後回覆 回覆 引用 0
        • 第一個貼文
          最後的貼文
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors