寻找Markdown中没有名字的图片
pat = r'![]'
寻找图片 匹配图片的名字
pat = r"[a-zA-Z0-9_u4e00-u9fa5.() ]{1,}.(?:png|jpg|gif)"
# 比如st = "关于哈哈的需求v2. (2)1_html_fjf3hg4bv5h.jpg"
# 匹配到了['关于哈哈的需求v2. (2)1_html_fjf3hg4bv5h.jpg']
pat = r'![]'
pat = r"[a-zA-Z0-9_u4e00-u9fa5.() ]{1,}.(?:png|jpg|gif)"
# 比如st = "关于哈哈的需求v2. (2)1_html_fjf3hg4bv5h.jpg"
# 匹配到了['关于哈哈的需求v2. (2)1_html_fjf3hg4bv5h.jpg']