• Login
Community
  • Login

Replace a character by using a list of names

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
2 Posts 2 Posters 166 Views
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.
  • O
    onmymomma11
    last edited by May 20, 2021, 3:44 AM

    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 Reply Last reply Reply Quote 0
    • D
      Daniel Fuchs
      last edited by May 20, 2021, 7:11 AM

      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 Reply Last reply Reply Quote 1
      1 out of 2
      • First post
        1/2
        Last post
      The Community of users of the Notepad++ text editor.
      Powered by NodeBB | Contributors