What's the fastest way to replace strings with multiple regexes in 1 million posts?

So I guess I’ll modify the importer to do my regexes before the import and be as patient as possible then!

Thanks for your replies.