Possible Duplicate:
Editor with muti-line search and replace
I'm looking for (ideally free) software, which will perform selective search and replace on multiple text files.
So I want to search for a phrase and have it show all the lines which it occurs in all the files. I want to be able to select those lines and click replace.
Kind of like a preview before I commit the changes to the selected lines.