Regex Lookaheads
- by Michael
Need to capture content of root <pubDate> element, but in document it can be either within <item> element or within <channel> element. Also <item> is child of <channel> I'll bring example
<channel>
...
<pubDate>10/2/2010</pubDate>
...
<item>
...
<pubDate>13/2/2029</pubDate>
...
</item>
...
</channel>
need to capture 10/2/2010
With the <item> no problem, can capture it, along with its <pubDate>.