PublicSuffix can parse and decompose a domain name into top level domain, domain and subdomains.
Simone Carletti
December 1, 2013 3:06pm
MIT