Z
Z
ZaHyga2020-06-06 10:06:13
Notepad++
ZaHyga, 2020-06-06 10:06:13

Notepad++ search in files. show +1 line after found expression?

Hello, I have a problem. There are several .txt files in a folder like this.

Form name: 4234324
564565656
Form name: 543512
fdsgfdsgds
Form name: 5432213
6ytrhgff
Form name: 5434312
asdgf345tg

I do search in files on word combinations Form name:
5edb3e20b5efc543140690.png
Lines finds, all is good. The task is as follows: how to make the found line visible after the search and the next line after it, that is, something that the search would give out like this:
Search "Form name: " (4 hits in 1 file)
  D:\222\new 69.txt (4 hits)
Line 1: Form name: 4234324
Line 2: 564565656
Line 3: Form name: 543512
Line 4: fdsgfdsgds

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander, 2020-06-06
@NeiroNx

will not output like this, there is a binding to the line feed character.

Z
ZaHyga, 2020-06-06
@ZaHyga

Maybe there is another method, or a plugin for solving this problem. With notepad++?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question