PublicSuffix can parse and decompose a domain name into top level domain, domain and subdomains.
Simone Carletti
December 23, 2011 7:23pm
N/A