I normally use Notepad++’s Find in Files feature, which covers most cases, and also supports replacing.