import re
strings = ["00000 Gin-a19ea68e-64bf-4471-b4d1-44f6bd9c1708-62fa6ae2-599c-4ff1-8249-bf6411ce3be7-83930e63-2149-40f0-b6ff-0838596a9b89 Kin",
"00000 Gin-a19ea68e-64bf-4471-b4d1-44f6bd9c1708 Kin"]
rx = re.compile(r'^[^-]+')
new_strings = [match.group(0)
for string in strings
for match in [rx.search(string)]
if match]
print(new_strings)
aW1wb3J0IHJlCgpzdHJpbmdzID0gWyIwMDAwMCBHaW4tYTE5ZWE2OGUtNjRiZi00NDcxLWI0ZDEtNDRmNmJkOWMxNzA4LTYyZmE2YWUyLTU5OWMtNGZmMS04MjQ5LWJmNjQxMWNlM2JlNy04MzkzMGU2My0yMTQ5LTQwZjAtYjZmZi0wODM4NTk2YTliODkgS2luIiwKIjAwMDAwIEdpbi1hMTllYTY4ZS02NGJmLTQ0NzEtYjRkMS00NGY2YmQ5YzE3MDggS2luIl0KCgpyeCA9IHJlLmNvbXBpbGUocideW14tXSsnKQpuZXdfc3RyaW5ncyA9IFttYXRjaC5ncm91cCgwKQoJCQkJZm9yIHN0cmluZyBpbiBzdHJpbmdzCgkJCQlmb3IgbWF0Y2ggaW4gW3J4LnNlYXJjaChzdHJpbmcpXQoJCQkJaWYgbWF0Y2hdCnByaW50KG5ld19zdHJpbmdzKQ==