this shows it better then I can describe
items = re.findall("<[0-9]+; [0-9]+, [0-9]+>", line)
out = []
for item in items:
separated = item.split(';')
out.append([int(separated[0].strip()), int(separated.split(',')[0].strip()), int(separated.split(',')[1].strip())])