【发布时间】:2014-12-15 14:34:50
【问题描述】:
我有这样的站点地图:
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>http://mywebsite.com/article1</loc>
<lastmod>2014-08-10</lastmod>
<changefreq>monthly</changefreq>
</url>
<url>
<loc>http://mywebsite.com/article2</loc>
<lastmod>2014-08-10</lastmod>
<changefreq>monthly</changefreq>
</url>
<url>
<loc>http://mywebsite.com/article3</loc>
<lastmod>2014-08-10</lastmod>
<changefreq>monthly</changefreq>
</url>
</urlset>
我只想保留里面的 url。你知道如何匹配其他人并且什么都没有替换吗?非常感谢!
【问题讨论】:
-
@aduch,你好,我正在使用记事本++
-
@Loong Notepad++ 是你正在使用的程序的名称,语言的名称是什么?
标签: regex url notepad++ sitemap