R
roberto321
Hi Guys,
I was wondering if someone could help me out with the following
requirements
<mydocument>
<div id="other">
<a href="linkother">linkother</a>
</div>
<div id="hello">
<a href="link1url">link1</a>
<a href="link2url">link2</a>
</div>
</mydocument>
If I wanted to extract all links from the div tag id="hello" how do I
go about it
Desired result would be:
link1url
link2url
So far I'm extracting links like this: <a href="[^"]+">[^<]+</a> but
how do I go about only making sure they are from a particular tag
group?
Regards DotnetShadow
I was wondering if someone could help me out with the following
requirements
<mydocument>
<div id="other">
<a href="linkother">linkother</a>
</div>
<div id="hello">
<a href="link1url">link1</a>
<a href="link2url">link2</a>
</div>
</mydocument>
If I wanted to extract all links from the div tag id="hello" how do I
go about it
Desired result would be:
link1url
link2url
So far I'm extracting links like this: <a href="[^"]+">[^<]+</a> but
how do I go about only making sure they are from a particular tag
group?
Regards DotnetShadow