I had the same problem, but it works fine for me to accomplish what you want, I actually need to contrast, for each page from the old domain, to redirect to the new domain, but keep the internal structure so bad that I think!
redirectMatch 301 ^/ http://www.newdomain.com
source share