Expanding Urls with RegEx in .NET

Posted by: Rick Strahls WebLog, on 22 Dec 2006 | View original | NEW Bookmarked: 0 time(s)

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>    ...

Advertisement
Category: Regex | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 1529 | Hits: 160

Similar Posts

  • New article: How to detect and avoid memory and resources leaks in .NET applications more
  • Export Word documents to XPS - Open XML Paper Specification format more
  • Bind InfoPath form to XML, Tables, SharePoint Lists & Web Services more
  • Create or Manage XPDL 1.0 & 2.1 packages using Aspose.Workflow more
  • Application Identifiers (AI) for EAN-128 barcode generation more
  • Create charts & add ad hoc capabilities to .NET Web & WinForm apps more
  • Live Mesh as an application platform more
  • Lookbehind in Regex searches more
  • The Technology Post for June 26th, 2009 more
  • Adding Persistence to the .NETOOP Edit in Place control. more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD