I want to edit a file using Notepad++, in such a way that I can replace a line containing a specific word, For example :
edit 792
set name "XXXXX"
set action accept
next
edit 957
set name "YYYYY"
set action accept
next
edit 021
set name "ZZZZZ"
set action accept
next
I want to change it to :
edit 0
set name "XXXXX"
set action accept
next
edit 0
set name "YYYYY"
set action accept
next
edit 0
set name "ZZZZZ"
set action accept
next
I would like to replace the "edit 792 or edit 957 or edit 021" and change it to "edit 0"
Do any ideas on how this can be done using Notepad++?
Thanks everybody.
Hopefully, I can get suggestions for solving this issue.