I was running a multisite network for a company that just

I was running a multisite network for a company that just went out of business.

Instead of deactivating all sites, I would very much just like to redirect all the subdomain multisites back to the main domain.

Anyone have a good htaccess code for this?