python 正则表达式提取返回内容

import re

re.findall(' <input name="address_id" type="hidden" value="(.*?)" />',neww.content.decode("utf-8")) #返回的是一个列表,使用re.match匹配不到内容;re.findall是匹配所有

posted on 2019-11-30 11:30  星空6  阅读(3954)  评论(0编辑  收藏  举报

导航