• Login
Community
  • Login

Help With Multi Replace/Paste Text Lines.

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
8 Posts 3 Posters 3.9k 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.
  • B
    Black Yuzia
    last edited by Oct 29, 2017, 5:17 AM

    Hello all,
    I used that np++ and next I need do:

    1. I have some text (more text 1000+ lines), and I can’t do that manyal.
      2)I most replace a part that text other some text.

    Okey, lets with examples.
    I have some text:
    http://i.piccy.info/i9/bae7c3b9617f176411786a06298c1601/1509252831/4914/1191613/1.png
    I want replaces 55555 - 77777 in to aaaa - cccc:
    http://i.piccy.info/i9/f7133ca75c2f244dc24803629980f26d/1509252944/3913/1191613/2.png
    What I want see:
    http://i.piccy.info/i9/5d1efc105c40b429dc2871225322eab7/1509252979/3621/1191613/3.png
    How I can do this?

    When I use multiple Select + Copy & Paste I get that shit:
    http://i.piccy.info/i9/f11187a319467a349fc969e5b9b10de0/1509253113/3158/1191613/4_1.png
    http://i.piccy.info/i9/684fdcc78f4ea2ff64afa2e54df0cedb/1509253124/5709/1191613/4_2.png

    Can I replace only one line?
    I mean: http://i.piccy.info/i9/e3205ba4b06a9606dd347d1b36bdd89a/1509253528/8484/1191613/5.png
    If not undrestand me, I can show you (all) what I mean/want etc, with Skype/TeamViewer.

    IF not undrestand I have some other examples:
    http://i.piccy.info/i9/5cae1fb0655b9dfdd05675ec43b73079/1509254104/16662/1191613/6.png
    http://i.piccy.info/i9/a01f1383d94bed4f5b6b1cf6641d328c/1509254164/26826/1191613/7.png

    C 1 Reply Last reply Oct 29, 2017, 11:08 AM Reply Quote 0
    • C
      Claudia Frank @Black Yuzia
      last edited by Oct 29, 2017, 11:08 AM

      @Black-Yuzia

      • place the cursor before the aaaaa text,
      • press shift+alt and keep it pressed.
      • use the left/right/up/down arrow keys to select the amount of text you want to be copied
      • once you have the text press ctrl+c to copy
      • place the cursor in front of text which needs to be replaced
      • repeat the steps to select the text which should be replaced
      • once done, press ctrl+v to paste the new text.

      You can achieve the same selection by using keep pressing shift+alt and using the mouse.

      Cheers
      Claudia

      1 Reply Last reply Reply Quote 0
      • B
        Black Yuzia
        last edited by Oct 29, 2017, 12:28 PM

        @Claudia-Frank yea, you not understand me.
        I do this when I get that:
        http://i.piccy.info/i9/f11187a319467a349fc969e5b9b10de0/1509253113/3158/1191613/4_1.png
        http://i.piccy.info/i9/684fdcc78f4ea2ff64afa2e54df0cedb/1509253124/5709/1191613/4_2.png

        I select text and paste, but that not enough.

        S 1 Reply Last reply Oct 29, 2017, 1:24 PM Reply Quote 0
        • S
          Scott Sumner @Black Yuzia
          last edited by Oct 29, 2017, 1:24 PM

          @Black-Yuzia

          @Claudia-Frank 's instructions work just fine for me on your example text.

          1111    55555
          2222    66666
          3333    77777
          4444    88888
          
          
          
          aaaa
          bbbb
          cccc
          dddd
          
          S 1 Reply Last reply Oct 29, 2017, 1:45 PM Reply Quote 2
          • B
            Black Yuzia
            last edited by Oct 29, 2017, 1:41 PM

            Okey, I watch

            C 1 Reply Last reply Oct 29, 2017, 4:35 PM Reply Quote 0
            • S
              Scott Sumner @Scott Sumner
              last edited by Oct 29, 2017, 1:45 PM

              Note, I posted the example text because maybe others would try @Claudia-Frank 's instructions and comment–does it work or doesn’t it… Posting screenshots like @Black-Yuzia did is okay but better is real text here so that those that want to try it for themselves don’t have to type it in, they can just copy-n-paste.

              1 Reply Last reply Reply Quote 1
              • C
                Claudia Frank @Black Yuzia
                last edited by Oct 29, 2017, 4:35 PM

                @Black-Yuzia

                you need to ensure that your initial selection of text is already
                a rectangular selection (aka the column mode).
                The kind of behavior you describe happens if you do a normal selection
                and then paste in column mode.

                Cheers
                Claudia

                1 Reply Last reply Reply Quote 2
                • B
                  Black Yuzia
                  last edited by Oct 30, 2017, 11:35 AM

                  @Claudia-Frank Oh, thanks. I Get what I want. Thanks.

                  1 Reply Last reply Reply Quote 1
                  4 out of 8
                  • First post
                    4/8
                    Last post
                  The Community of users of the Notepad++ text editor.
                  Powered by NodeBB | Contributors