(?:!\[在这里插入图片描述\]\((.*?)\)) #只提取url
或
(?:!\[(.*?)\]\((.*?)\)) ##提取描述与rul
test.py
import re
if __name__=="__main__":
imagess =''
#image_arr = re.findall(r'(?:!\[在这里插入图片描述\]\((.*?)\))',imagess)#只提取url
image_arr = re.findall(r'(?:!\[(.*?)\]\((.*?)\))',imagess)#提最述与rul
print('hello')
print(image_arr)
result
['https://img-blog.csdnimg.cn//20200504143235110.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L20wXzM3Njk2OTkw,size_16,color_FFFFFF,t_70']
[('在这里插入图片描述', 'https://img-blog.csdnimg.cn//20200504143235110.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L20wXzM3Njk2OTkw,size_16,color_FFFFFF,t_70')]