How to Search and Copy results from atom


#1

Hello,
I have a huge text file, I am trying to do a regex search which is working as expected.
Now i want to copy the search results. Is there a native way to do this?
for example, say in an html file, if i searched for urls, i want to copy the results to a separate file or tab.

Thanks


#2

Once you’ve executed a find you can press Alt+Enter to select all of the results in the file. From there you can copy them all to paste wherever you like.


#3

That worked!

Thank you :slight_smile:


#4

Hi there, I am trying hard to get this work here as well, but it seems like once I see all the search results Alt+Enter doesnt’t effect anything. Is there an other way to do this or am I doing something wrong?


#5

On macOS, I am seeing the Alt+Enter (Option+Enter on macOS) keyboard shortcut seems to indeed select the results of a Find operation, but clicking the “Find All” button doesn’t do the same thing. That seems wrong.

Clicking the “Find All” button highlights the Find field, despite the keyboard shortcut popup displaying the Alt/Option+Enter shortcut.

Shouldn’t both commands have the same result?


#6

This plugin work dandy, https://atom.io/packages/copy-find-results