Expanding Urls with RegEx in .NET
Posted by: Rick Strahls WebLog,
on 22 Dec 2006 |
View original
One of the things I need frequently is to take text entered and expand URLs in it. Theres code in my library that handles this via an ExpandUrls class that does this:
public class ExpandUrlsParser
{
public string Target = ";
/// <summary>
/// Expands links into HTML hyperlinks inside of text or HTML.
/// </summary>
/// <param name="Text">The text to expand</param>
...