Notepad ++ Export full “Find Results” window

notepadwindow

I have a large number of text files in multiple sub directories that I need to scan for a particular string and return the file names of any file that has this string inside. To do this, I have used the Find in File feature to give me an output which tells me all the files that match as well as the line number (exactly what I want)

However, when I select all and copy, only the matching strings are copied, not the file names and Line x part of the output.

Is there a way to export the full results (with file paths) of the Find Results window in Notepad++?

Best Answer

In npp 7.5.6 there is a difference if you, after selecting lines of the find result list, use "right click" / "Copy", or of you use "CTL-C".

"right click" / "Copy" copies the lines without line numbers.
"CTL-C" copies the lines with line numbers.

Related Question