Navigation

    Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    replace multiline data

    General Discussion
    4
    7
    182
    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.
    • cisco779k
      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 singh
        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
        • cisco779k
          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”: “”

          Ekopalypse rinku singh 2 Replies Last reply Reply Quote 0
          • Ekopalypse
            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 singh
              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
              • cisco779k
                cisco779k last edited by

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

                1 Reply Last reply Reply Quote 0
                • Prahlad-Makwana4145
                  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
                  • First post
                    Last post
                  Copyright © 2014 NodeBB Forums | Contributors