<?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>My Workday &#187; regex</title>
	<atom:link href="http://www.goworkday.com/tag/regex/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.goworkday.com</link>
	<description>Let&#039;s talk TECH</description>
	<lastBuildDate>Tue, 23 Mar 2010 03:28:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Regex on HTML code</title>
		<link>http://www.goworkday.com/2008/10/07/regex-on-html-code/</link>
		<comments>http://www.goworkday.com/2008/10/07/regex-on-html-code/#comments</comments>
		<pubDate>Tue, 07 Oct 2008 16:31:35 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[regex]]></category>

		<guid isPermaLink="false">http://www.goworkday.com/?p=27</guid>
		<description><![CDATA[<br/>&#60;TAG\b[^&#62;]*&#62;(.*?)&#60;/TAG&#62; matches the opening and closing pair of a specific HTML tag. Anything between the tags is captured into the first backreference. The question mark in the regex makes the star lazy, to make sure it stops before the first closing tag rather than before the last, like a greedy star would do.]]></description>
			<content:encoded><![CDATA[<br/><p><tt class="regex">&lt;TAG\b[^&gt;]*&gt;(.*?)&lt;/TAG&gt;</tt> matches the opening and closing pair of a specific HTML tag.  Anything between the tags is captured into the first <a href="http://www.regular-expressions.info/brackets.html" target="_top">backreference</a>.  The question mark in the regex makes the star <a href="http://www.regular-expressions.info/repeat.html" target="_top">lazy</a>, to make sure it stops before the first closing tag rather than before the last, like a greedy star would do.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.goworkday.com/2008/10/07/regex-on-html-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
