Are all the files in one folder (or in subfolders of one folder)? If so, this is a simple job for GREP or any of the numerous GREP-like utilities. The bad news is that you'll need to learn about "regular expressions" to use GREP or its cousins. Ask Google.