Take a look at the Advanced Search and Replace module of the Advanced Tagging and Reporting Tool plugin.
It's quite possible that one of the 'remove' presets would do what you need. You're going to have to experiment (unless someone comes up with a definitive answer) so I suggest testing on only a couple of files until you confirm that working as expected.