Community
    • Login

    Append character at end of line

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 2.8k Views 2 Watching
    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.
    • Rod NunleyR Offline
      Rod Nunley
      last edited by

      I have a list of items and need to add a character at the end of each line. But the current last character on each line varies. So how can I add a character (and it’ll be the same character for each line) to the end? Note that I can’t get into some sort of scripting here. I need something I can paste from Notepad++ into something else.

      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC Offline
        Claudia Frank @Rod Nunley
        last edited by

        @Rod-Nunley

        I assume you want this.
        Having regular expression checked and wrap around NOT checked

        find what:$
        replace with:your_character

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • Rod NunleyR Offline
          Rod Nunley
          last edited by

          That did the trick. Exactly what I needed. Thanks much.

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors