View Single Post
  #1 (permalink)  
Old 07-25-05, 06:23 AM
musmanm80 musmanm80 is offline
Newbie Coder
 
Join Date: Jul 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
regular expression for parsing url link

hi
i am parsing an html file to get the all url links.plz any body can tell me the regular expression for extracting a link.for example the link in html file is


<a href="http://www.fastcoolcars.com/" onmousedown="return clk(this.href,'res',1,'')"><b>Fast</b> Cool <b>Cars</b> - <b>Fast</b> <b>Cars</b>,
Cool <b>Cars</b></a>

in this i have need of only http://www.fastcoolcars.com
i wan to get all links and store them in array.but i am not making regular expression for this.plz help me
thanks
Reply With Quote