Added regex

extractDomain extracts the domain and tld of a passed url