``` python import re s ='<a href="https://geekori.com">极客起源</a> <a href="https://www.microsoft.com">微软</a>' result = re.findall('<a[^>]*href="([^>]*)">',s,re.I) print(result) for url in result: print(url) ``` > https://geekori.com > https://www.microsoft.com 本题的技术点有如下2个: 1. 分析a节点的正则表达式 2. 利用分组提出href属性的值(Url)