Reputation: 7050
I'm looking to parse an export from wordpress using Regex to import it into a custom blog application. I've tried a number of ways to try to get to the data, but have been unsuccessful. I have:
<category domain="category" nicename="category-name"><![CDATA[Category Name]]></category>
I'm looking to find all of the text where: <![CDATA[Category Name]]>
is. It also match the attribute with domain="category"
, but I do not care what the "nicename" is. This is important because other <category>
elements have domain="post_tag"
in them, which I do not want.
Upvotes: 0
Views: 217