ningxiaowa
3/19/2018 - 3:22 PM

正则表达式.py

# 寻找字符串
# 找出32
str1 = 'xxx_p32.html'
re.findall(r'_p(.+?).html', str1)