I want to write a regex to obtain 06:00 and 06:59 out of this is the string:
06:00 Pizza Hut24 06:59
I am not able to build the proper regex! This is my regex so far but it is considering 24
in Hut24
as a part of the result but it shouldn't:
(?P<start_time>\d{2}:\d{2})\s+([a-zA-Z\s]*)(?P<end_time>\d{2}:\d{2})?