当前位置: 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条