Page 1 of 1

How to copy search results to the clipboard?

Posted: Sun May 02, 2010 8:01 pm
by vuser
In a file containing 50,000 lines of delimited data, there are around 600 lines matching a particular regular expression.

Is there a way of copying just these 600 lines to the clipboard for later analysis?

Re: How to copy search results to the clipboard?

Posted: Sun May 02, 2010 9:01 pm
by FileViewer
Is there a way of copying just these 600 lines to the clipboard for later analysis?


You will need to use Find Files/GREP to do this:

1. While viewing the file, press the "Find Files/GREP" button on the toolbar (or press Ctrl+Shift+F)
2. Select the "Text Search" tab
3. Enable "Limit To" and select "Current File" from the list below
4. Enter your search string and press the Search button

After the matching records have been displayed, you can select one of the "Copy Search Results" options from the File menu.

If you would like to also copy the line number with the results, you should enable "Line Number/Offset" at the bottom of the Options tab.

Regards,
Charles.