Reputation:
I have nearly 9,000 lines in a text file in Notepad++
How do I find all lines that say
source: DATA
and INSERT these 2 lines below that line?
delete:
password: ACTUALPASSWORD
Thanks.
Upvotes: 0
Views: 89
Reputation: 2419
Use Ctrl-H
then earch for source: DATA
replace with source: DATA\r\ndelete:\r\npassword: ACTUALPASSWORD\r\n
This way you preserve new line formats.
Upvotes: 1
Reputation: 31194
Change your your Search Mode to extended, and replace
source: DATA
with
source: DATA\ndelete:\npassword: ACTUALPASSWORD
Upvotes: 1
Reputation: 1132
you search for
source: DATA
and replace it with
source: DATA
delete:
password: ACTUALPASSWORD
Upvotes: 0