UltraEdit can do this - in the Find dialog select the "List Lines Containing String" option. The resulting dialog will contain a list of matching strings that can be copied to the clipboard.
Of course, for this type of operation I'd normally use a command-line grep too and just pipe the output to a file.