Creating board codehttp://forums.asp.net/t/424223.aspx/1?Creating+board+codeSat, 20 Dec 2003 10:39:13 -0500424223424223http://forums.asp.net/p/424223/424223.aspx/1?Creating+board+codeCreating board code Anyone know how to use C# to convert the below line so it displaya a link in html? [url=www.asp.net.com]My Webpage[/url] and turn it into [code]<a href="www.hapas.com">My Webpage</a>[/code] TIA Alvin 2003-12-20T01:43:12-05:00424267http://forums.asp.net/p/424223/424267.aspx/1?Re+Creating+board+codeRe: Creating board code <pre class="prettyprint">string url = &quot;[url=www.asp.net.com]My Webpage[/url]&quot; url = url.Replace(&quot;[url=&quot;,&quot;&lt;A HREF='&quot;) url = url.Replace(&quot;[/url]=&quot;,&quot;&quot;) url = url.Replace(&quot;]=&quot;,&quot;'&gt;&quot;)</pre> 2003-12-20T03:14:34-05:00424358http://forums.asp.net/p/424223/424358.aspx/1?Re+Creating+board+codeRe: Creating board code Need to elaborate. I will have a string with a lot of text and in it will be this code that I want to converted to a link. So if I did a replace on &quot;]&quot; to get the &quot;&gt;&quot; then it might change it for something else in the string that I do not want changed. 2003-12-20T08:55:58-05:00