Insert above or below the search hit

Tool for Search and Replace across multiple files.
Post Reply
bgregory01
Posts: 1
Joined: Tue Jan 14, 2020 5:16 pm

Insert above or below the search hit

Post by bgregory01 » Tue Jan 14, 2020 5:26 pm

Is there a way to insert a phrase above or below the search hit?
Example: Text file has 3 lines and you want to add the "phrase" to a line above/below it
Line 1 This is a test line
Line 2 This line has the "searchword"
Line 3 This is a test line
If you search for "searchword" add the the line "phrase" above/below Line 2
Line 1 This is a test line
Line 2 "phrase"
Line 3 This line has the "searchword"
Line 4 "phrase"
Line 5 This is a test line

If not this would be a great addition. I am currently using the trial.
Thank You.
Post Reply