<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://pedroposada.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Pedro Posada&#039;s Blog</title>
 <link>http://pedroposada.com/category/blog/regular-expressions</link>
 <description>The taxonomy view with a depth of 0.</description>
 <language>en</language>
<item>
 <title>Regular Expression snippet preg_match_all</title>
 <link>http://pedroposada.com/blog/regular-expression-snippet-preg_match_all.html</link>
 <description>&lt;p&gt;I was trying to extract the text of an html tag using regular expressions. It seems that preg_match_all is a good option to do this. I wanted to extract the taxonomy term name from within a views display template. I needed to embed a views inside another views. I needed to use part of the parent view&#039;s html as an argument for the nested view. I used preg_match_all to extract the term name from an html tag.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://pedroposada.com/blog/regular-expression-snippet-preg_match_all.html&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://pedroposada.com/blog/regular-expression-snippet-preg_match_all.html#comments</comments>
 <category domain="http://pedroposada.com/category/blog/phpsnippet">php snippet</category>
 <category domain="http://pedroposada.com/category/blog/regular-expressions">regular expressions</category>
 <pubDate>Sun, 12 Apr 2009 21:18:40 -0400</pubDate>
 <dc:creator>pedro</dc:creator>
 <guid isPermaLink="false">61 at http://pedroposada.com</guid>
</item>
</channel>
</rss>
