<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>冷敷热敷 &#187; 正则</title>
	<atom:link href="http://www.seinp.net/blog/post-tag/%e6%ad%a3%e5%88%99/feed" rel="self" type="application/rss+xml" />
	<link>http://www.seinp.net/blog</link>
	<description></description>
	<lastBuildDate>Thu, 05 Aug 2010 15:38:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>删除网页中指定颜色文字的正则表达式</title>
		<link>http://www.seinp.net/blog/post-102.htm</link>
		<comments>http://www.seinp.net/blog/post-102.htm#comments</comments>
		<pubDate>Sat, 30 Jan 2010 17:06:08 +0000</pubDate>
		<dc:creator>流火凉民</dc:creator>
				<category><![CDATA[日记]]></category>
		<category><![CDATA[正则]]></category>
		<category><![CDATA[资本论]]></category>

		<guid isPermaLink="false">http://www.seinp.net/blog/?p=102</guid>
		<description><![CDATA[下了套网页版的《资本论》以备闲时翻翻，但是不妙的是网页作者在正文中夹杂了大量自己的见解批注，且观点有点那啥（极左？呵呵。但是还是要在此感谢这位朋友），好在用了蓝色字体予以区分，就想到花点手段给删除掉，对于正则是一知半解，最后试验出的表达式如下：
&#60;font[\s]+color=blue.+?[\s]*\&#60;/font&#62;
没有写代码，直接使用了一想千开的批量替换工具在本地搞定，有点美中不足的是这个工具好像不支持‘.’号通配换行符，导致超过一个段落的批注不能删除，不过大段批注不多，到时遇到后手工删除就行了。
链接
]]></description>
		<wfw:commentRss>http://www.seinp.net/blog/post-102.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
