import re
for line in content.split("\n"):
pattern = r"(\d)斤(.*)花了(\d+(.\d+)?)"
match = re.search(pattern, line)
if match:
print(f"{match.group(1)}\t{match.group(2)}\t{match.group(3)}")
11-11
275
11-08
470
11-08
296
11-08
212