PublicSuffix can parse and decompose a domain name into top level domain, domain and subdomains.
Simone Carletti
March 7, 2014 3:10pm
MIT