How to remove character literals from string?
<p>How can i remove character literals from string?</p>

<p>Current text looks like this:</p>

<pre><code>&lt;span class=\"comment\"&gt;\r\n\t\t\t\t\t2 hours ago&amp;nbsp;\r\n\t\t\t\t&lt;\/span&gt;\r\n\t\t\t\t\t\t\t&lt;\/div&gt;
</code></pre>

<p>But i want it like this:</p>

<pre><code>&lt;span class="comment"&gt;2 hours ago&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
</code></pre>

<p>I have tried</p>

<pre><code>string replacement = Regex.Replace(response, @"\t|\n|\r", "");
</code></pre>

<p>but its not working.</p>