get domain from href using regex