As with all batch text processing, this would be simple under Linux.
I'm not sure if there is a standard Windows utility that could do the trick, but a Google search turned up
BrineSoft Batch Text Replacer. This is shareware, and from its description would do what you want.