Get all links from an html file using regex
Hi guys,
I am trying to get links from an html file. My code (important parts of it) looks like this:
regex.new1("href=(.*?)[\s>]")
match.value=regex.match(htmtemp)
Do While match.success=True
list.add(SubString(htmtemp,match.index,match.lengt h))
match.value=match.nextmatch
Loop
Im not getting any results, whats wrong? Is it my regular expression itself?
Thank you for your help
Christian
[MM2forever]
__________________
Regards, Christian
>> My PPC Hardware <<
There are 10 kinds of people: Those who understand binary, and those who don't. 
|