Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一长页的 HTML 代码。洒在代码中的是各种形式的链接
<a href="/whatever.com">Whatever</a>
我需要什么正则表达式才能在 Notepad++ 中搜索|替换以去除整个 HTML 页面,只留下一个独立的链接列表,如下所示:
whatever.com whichever.com whoever.com
使用以下内容:
寻找:
^[^"]+.([^"]+).*
代替:
$1
要过滤标题,
</?[^>]*.
empty string