Identify the Company Domain Name based on an URL inside Salesforce Formula

I’ve been looking for a way to extract the Company Domain Name based on the Website without much success. We run our Lead to Account matching based on the domain name so it’s primary that we have something clean.