How could I match time string with python re module?

前端 未结 0 1032
有刺的猬
有刺的猬 2021-01-27 10:46

I would like to match the time string python with python re module. My code is like this:

import re
def match_time(el):
    year = \'(?:19|20)[0-9]{2}\'
    month         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题