import re

text = "Participant P014 reported a score of 87 on 2026-03-14."
>>> re.findall(r"P\d+", text)          # participant IDs like P014
['P014']
>>> re.findall(r"\d{4}-\d{2}-\d{2}", text)   # ISO dates
['2026-03-14']
