当前位置: redice's Blog > TAG标签 > 正则表达式

日期:11-01-30 |  分类:Python |  标签:python正则表达式 |  1 Comments

html = diva href='http://www.redicecn.com/plus/search.php?keyword=pythonsubmit.x=0submit.y=0'Python/a a href='http://www.google.com'google/a/div re.compile(r '''(http(s)?://([\w\-]+\.)+[\w\-]+(/[\w\- \./\?%=]*)?)''' ).findall(html) [('http

阅读剩余部分...

    共1页/1条

redice's Blog  is powered by DedeCms |  Theme by Monkeii.Lee |  网站地图 |  本服务器由西安鲲之鹏网络信息技术有限公司友情提供

返回顶部