Mike,
Regular expressions work well for this.
Something like:
Dim RegEx As New
System.Text.RegularExpressions.Regex("(href|url|src)\s*=\s*(?

?:\""(?<url>[^\""]*)\"")|(?<url>[^\s*]
))", System.Text.RegularExpressions.RegexOptions.IgnoreCase Or
System.Text.RegularExpressions.RegexOptions.Compiled)
Dim Matches As System.Text.RegularExpressions.MatchCollection =
RegEx.Matches(html)
Regards,
--
S. Justin Gengo
Web Developer / Programmer
Free code library:
http://www.aboutfortunate.com
"Out of chaos comes order."
Nietzsche
Mike Kansky said:
Is there a built in function in .NET to find URL in a string so i can
format it as <a href="url" ?
useful for Forum Posts and other human entered text.