> Hi.
>
[quoted text clipped - 5 lines]
> Thx! ;-)
> Matteo Migliore.
Hello Ignacio Machin ( .NET/ C# MVP )" machin TA laceupsolutions.com,
> Hi,
>
[quoted text clipped - 9 lines]
>> Thx! ;-)
>> Matteo Migliore.
Which would come down to something like this:
<a[^>]+href\s*=\s*"(?<href>[^"]+)"[^>]*>(?<text>(?:(?!</a).)*)
It would save the href to a group named href and the text to a group named
text.
--
Jesse Houwing
jesse.houwing at sogeti.nl
Matteo Migliore - 06 Oct 2007 06:20 GMT
> Which would come down to something like this:
>
> <a[^>]+href\s*=\s*"(?<href>[^"]+)"[^>]*>(?<text>(?:(?!</a).)*)
>
> It would save the href to a group named href and the text to a group
> named text.
Sorry but with this Regex I can't retrieve all links. I'm comparing using
WebClient class and WebBrowser (Document.Links). In the second case I obtain
all links, in the first not.
Thx a lot! ;-)
Matteo Migliore.