document.write('<div class="csharp" style="font-family: monospace;"><span style="color: #FF0000;">string</span> strippedString = Regex.<span style="color: #0000FF;">Replace</span><span style="color: #000000;">&#40;</span>htmlString,<span style="color: #808080;">@"&lt;(.|\n)*?&gt;&quot;</span>,<span style="color: #FF0000;">string</span>.<span style="color: #0000FF;">Empty</span><span style="color: #000000;">&#41;</span>; <br />');
document.write('<br />');
document.write('<span style="color: #008080; font-style: italic;">//this will strip anything found in HTML tags.</span><br />');
document.write('<span style="color: #008080; font-style: italic;">//(.|\n) -- Finds any character including the new line character</span><br />');
document.write('<span style="color: #008080; font-style: italic;">// *?&nbsp; -- 0 or more occurences and the match will stop at the first occuring &quot;&gt;&quot; it sees</span><br />');
document.write('&nbsp;</div>');
document.write('<br />&nbsp;<br /><div style="font-size: 12px">Brought to you by the community at <a href="http://www.bytemycode.com/snippets/snippet/24/1/" target="_blank">byteMyCode</a>.</div>');
