locked
Finding links in Html Source RRS feed

  • Question

  • User342605747 posted

    Hey Guys

    I am trying to get the hotfile's downloadable file links in html source in C#.Net.


    Ex Html Source: 

    <A class="lonmousedown="return clk(this.href,'','','','6','','0CDgQFjAF')"href="http://tinypaste.com/f4472e"><EM>http://hotfile.com/dl</EM>/31214236/e3ad3a3/dora_ve_unicorn.avi.html<B>...</B></A></H3>
    <DIV class="s"><EM>http://hotfile.com/dl</EM>/31214236/e3ad3a3/dora_ve_unicorn.avi.html 
    <EM>http</EM><B>...</B><BR><SPAN class="f"><CITE>tinypaste.com/f4472e</CITE>....


    i just want to get "http://hotfile.com/dl</EM>/31214236/e3ad3a3/dora_ve_unicorn.avi.html" link and that kind links from the whole Html source. 

    I tried to use Regex but couldnt find the correct exp.

    Could you please give me some regex sample or any method for me to do that?

    Thanks...





    Friday, October 22, 2010 10:49 AM

Answers

  • User197322208 posted

    http://dotnetrush.blogspot.com/2006/10/find-links-using-regex.html

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, October 22, 2010 3:51 PM