for line in lines:
    m = re.search('(\\d{2}/\\d{2}/\\d{2} \\d+:\\d+[a|p]m)', line)
if m:
    found_dates.append(m.group(1))
for date in found_dates:
    pass
How to find spans with a specific class containing specific text using beautiful soup and re?