Learning immediately: https://edu.csdn.net/course/play/26755/340145?utm_source=blogtoedu
match match:
s='today is 2010-07-08'
m = re.match ( '* \ d {4} -. \ d {2} -. \ d {2} *', s). # where * represents multiple characters, \ d (4) represent 4 characters .
if m is not None :
print(m.group())