Community
    • 登入

    Replace a character by using a list of names

    已排程 已置頂 已鎖定 已移動 Help wanted · · · – – – · · ·
    2 貼文 2 Posters 209 瀏覽
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • onmymomma11O
      onmymomma11
      最後由 編輯

      Any way to incorporate a list into with the “replace with” function so for example a list in another document is formatted like a list and I want to find a single word in another document and I want to replace that word with that entire list for each line without it showing the entire list for each “character” I replace all at once.
      LIST
      “Z”
      “X”
      “C”
      “V”
      “B”

      Find what: ''Character"
      Replace with: “Z” “X” “C” “V” “B”

      “Character”>“Z”
      “Character”>“X”
      “Character”>“C”
      “Character”>“V”
      “Character”>“B”

      Any help would be appreciated I am just getting started in learning how notepad++ works thanks.

      1 條回覆 最後回覆 回覆 引用 0
      • Daniel FuchsD
        Daniel Fuchs
        最後由 編輯

        I am afraid this is not possible with the build-in Replace function.
        You could however install the PythonScript plugin, where you can then script such a replace.

        1 條回覆 最後回覆 回覆 引用 1
        • 第一個貼文
          最後的貼文
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors