replace multiline data
-
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… -
@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 -
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”: “” -
@cisco779k said in replace multiline data:
from your given example
check regular expression
find what:(?<="Thumbnail": ").*?(?=")
replace with is empty
press replace all -
@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 -
oh yesss! great!
tanxs to everybody for your support! -
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.
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