What is the best way(lambda, extension or Regular expression) of removing the white space
<p>At present I am using the below</p>

<pre><code>private static string RemoveWhiteSpace(string text)
        {
            string trim = text.Replace(" ", "");
            trim = trim.Replace("\r", "");
            trim = trim.Replace("\n", "");
            trim = trim.Replace("\t", "");
            return trim;
        }
</code></pre>

<p>Looking for a better way
Thanks</p>
