I'm looking for an automated solution than can search if a specified text string is on a line (may not be an exact match - just as long as the specified text string is contained in the line) on a group of text files and will remove the whole line(s) where the text string is found and replace it with a text string I specify (for Windows).
Reason for this: I edit AI files for an old strategy game (Total Annihilation). The AI files are basically text files, with a different AI file per map type. If I would like to make a particular edit the same in all the AI files, I would have to edit a lot of text files.
