Ad
  • Custom User Avatar

    It's actually the BEST solution in generall for that kind of problem, don't know why so few likes. It's better then all "re" and ".split()" solutions, because it's can parse something like "video.google.com" -> and return "google", and not "video" for exapmle.