in reply to Get Domain name From URLs

Since it's a task and not a try to enrich the personal knowledge, just ask google.