Strip domain part from subdomain of any lengt. May not catch some of rarely used CC TLDs with long 2nd level domain part like: .dnepropetrovsk.ua .poznan.pl .museum.mw