Redirect page with ID

I want to set a .htaccess redirect from an old link to a section of a new page (i.e mydomain.com/something#id) how do I do it?