I am running WordPress and I have about 20 different urls as alias to our main url.

I have domain.co.nz, domain.net.nz, domain.cc and domain.com.au , domain.net

I need to redirect all www.domain and domain. to our main url of www.domain.net

What is the best rules to do this in the .htaccess directory