This project has moved and is read-only. For the latest updates, please go here.

how to extract nested href

Topics: User Forum
Jan 13, 2014 at 11:40 AM
Edited Jan 13, 2014 at 11:40 AM

I am willing to extract email id form following html I tried lot but no luck, can any one pls help
<div class="email">
<script type="text/javascript">eval(unescape('%64'))</script><a target="_blank" href="/business/do_link/38494178?" rel="nofollow" class="searchlink email" title="EBridal"></a><br></div>
I am willing to expect email id form this link
  For Each link As HtmlNode In doc.DocumentNode.SelectNodes("//div[@class='email']")

            ans = link.Attributes("href").Value
Jan 13, 2014 at 3:39 PM
Edited Jan 13, 2014 at 3:42 PM
This code will work:
Take a look: