How to do a redirect?

Hi all, need to do a redirect from one directory to the new site, we need all URLs that have to look like this
example.com/he/**** to do a redirect here example.new
only here there are nuances
1) links like such example.com/he/about so you need to send example.new/about
2) a link with any get parameters to redirect to the main page i.e. so
example.com/he/resat/index.html?p=8〈=he&contract=as&fyu=gfjug here example.new
everything tried works just for the redirect on the same page on a different domain

please tell me how to do this via htaccess?
June 5th 19 at 21:31

Find more questions by tags htaccess