Community
    • Login

    replace multiline data

    Scheduled Pinned Locked Moved General Discussion
    7 Posts 4 Posters 2.0k 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.
    • cisco779kC Offline
      cisco779k
      last edited by

      hi to everybody! i have this data on multiline:

      “Thumbnail”: “data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/4gIoSUNDX1BST0ZJTEUAAQEAAAIYAAAAAAIQAABtbnRyUkdCIFhZWiAAAAAAAAAAAAAAAABhY3NwAAAAAAAAAAAAAFhZWiAAAAAAAABvogAAOPUAAAOQWFlaIAAAAAAAAGKZAAC3hQAAGNpYWVogAAAAAAAAJKAAAA+EAAC2z3BhcmEAAAAAAAQAAAAC…”

      and i want delete all data or replace with “Thumbnail”: “”
      how to dell all data?? this entries it is repeated several times in the document…

      1 Reply Last reply Reply Quote 0
      • rinku singhR Offline
        rinku singh
        last edited by

        @cisco779k said in replace multiline data:

        “Thumbnail”: “data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/4gIoSUNDX1BST0ZJTEUAAQEAAAIYAAAAAAIQAABtbnRyUkdCIFhZWiAAAAAAAAAAAAAAAABhY3NwAAAAAAAAAAAAAFhZWiAAAAAAAABvogAAOPUAAAOQWFlaIAAAAAAAAGKZAAC3hQAAGNpYWVogAAAAAAAAJKAAAA+EAAC2z3BhcmEAAAAAAAQAAAAC…”

        multiline ?? copy these data and paste in npp this data is not multiline
        you can share pastebin link

        1 Reply Last reply Reply Quote 0
        • cisco779kC Offline
          cisco779k
          last edited by

          no, you do not have me understand…
          i have one file with Thumbnail data repeated several times, but on date value changes
          ex:
          “Thumbnail”: “data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQAB…"
          other line…
          “Thumbnail”: “data:image/jpeg;base64,/9j/234827598745845345…"
          other line…
          “Thumbnail”: “data:image/jpeg;base64,/9j/4A34t34tt54t54t45t45t4t5…"

          i want replace all value on my file
          “Thumbnail”: “data:image/jpeg;base64,/various number and letter…"
          with “Thumbnail”: “”

          EkopalypseE rinku singhR 2 Replies Last reply Reply Quote 0
          • EkopalypseE Offline
            Ekopalypse @cisco779k
            last edited by Ekopalypse

            @cisco779k said in replace multiline data:

            from your given example

            check regular expression
            find what:(?<="Thumbnail": ").*?(?=")
            replace with is empty
            press replace all

            1 Reply Last reply Reply Quote 1
            • rinku singhR Offline
              rinku singh @cisco779k
              last edited by rinku singh

              @cisco779k said in replace multiline data:

              “Thumbnail”: “data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQAB…"
              other line…
              “Thumbnail”: “data:image/jpeg;base64,/9j/234827598745845345…"
              other line…
              “Thumbnail”: “data:image/jpeg;base64,/9j/4A34t34tt54t54t45t45t4t5…"
              i want replace all value on my file
              “Thumbnail”: “data:image/jpeg;base64,/various number and letter…"
              with “Thumbnail”: “”

              """ “““
              check regular expression
              find what: “Thumbnail”: “.*"
              replace with: “Thumbnail”: “”
              press replace all
              Wrap around : checked true

              1 Reply Last reply Reply Quote 0
              • cisco779kC Offline
                cisco779k
                last edited by

                oh yesss! great!
                tanxs to everybody for your support!

                1 Reply Last reply Reply Quote 0
                • Prahlad-Makwana4145P Offline
                  Prahlad-Makwana4145
                  last edited by

                  Hello,@cisco779k

                  Follow these steps to replace multi line data :

                  Step 1 :- Go to the menu Plugins>Plugin Manager>Show Plugin Manager
                  Step 2 :- Than select Check Tool Bucket and Install.
                  Step 3 :- Restart Notepad++.
                  Step 4 :- Press ALT + SHIFT + F to multi line edit.

                  I hope above information will be useful for you.
                  Thank you.

                  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