How can I extract the time from the following array? Right now I am trying with re
data = ['Mys--dreyn M (00:07:04): Yes', ' of course.\r\n'] time_search = re.search('(*)', "".join(data), re.IGNORECASE) if time_search: time = time_search.group(1) print time