If You have a lot of mod alias redirectmatch 301 redirects and you need to proceed this way, here is the bulk redirectmatch generator for .htaccess to help you with this task. It generates RedirectMach 301 rules for exact page to page redirection based on regular expressions syntax. Please, read notes at the bottom.
Unfortunately, mod Alias redirectmatch can't check if request come from certain domain name. So, all old domain names will be just stripped. Fortunately, to use domain name check for 301 redirects is rare task. To use domain names as condition, please, use Bulk htaccess 301 redirect rewrite generator.
Mod Alias is very strict and fast module, but not too functional. It can't check if certain query sting come. Mod alias redirectmatch 301 will just add old query string to new url. To check query strings, please, use htaccess rewrite rule generator for 301 redirects.
Again, no such functionality with Redirect or RedirectMatch. Possible to do it with mod Rewrite. To do such 301 redirects, please, use htaccess rewrite rule generator.
These rules will redirect whole directories, not just only individual urls. It can result in wrong redirects. This is why this generator uses redirectmatch 301. It is clear from mod_alias 301 redirect documentation.