I'm not really sure of the best way to summarize this in one sentence for the title, so please edit it to make it clearer if necessary.
I have a list of strings (parsed from a Web page) of the format
"\tLocation\tNext Available Appointment: Date\n"
I'd like to turn this into a list of lists, each with the format
["Location", "Date"]
I know what regular expression I would use, but I don't know how to use the results.
(For reference, here's the regular expression that would find what I want.)
^\t(.*)\t.*: (.*)$
I found how to match regexes against text, but not how to extract the results to something else. I am new to Python, though, so I acknowledge that I probably missed something while searching.
re.findall