Any good text-editor can achieve this with a Search In Files... function. I use EditPlus and it works like a dream. Others to check out are UltraEdit, Dreamweaver, Notepad++, etc.
There is a thread in the Echo Lounge on Text editors, I suggest you read that for one that suits your needs.