convert string to html (hyperlink)
<p>i defined ToHtml() extension for string class and convert break to <code>&lt;br/&gt;</code>.
how can detect hyper link and convert to <code>&lt;a&gt;</code> element?</p>

<pre><code>public static class StringExtension
{
    public static string ToHtml(this string item)
    {
        //\r\n windows
        //\n unix
        //\r mac os
        return item.Replace("\r\n", "&lt;br/&gt;").Replace("\n", "&lt;br/&gt;").Replace("\r", "&lt;br/&gt;");
    }
}
</code></pre>

<p>c#, asp.net</p>
