title: replacing multiple tabs and with single tab in c# regex
body: <p>I have the following text that I would like to format in a sensible way</p>
  
  <pre><code>"\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\tEIMC\\t\n\t\t\t\t\t\t&lt;!--&lt;td valign=\"top\"&gt;&lt;span class=\"HEAD\"&gt;EIMC&lt;br&gt;\\t&lt;/span&gt;&lt;/td&gt;--&gt;\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\n\t\t\n\t\t\tSavannah\t\t\t\t/ United States of America (UTC-5)\n\t\t\n\n\t\t\n\t\t\t&amp;nbsp;\n\t\t\n\n\t\t\n\t\t\t\n645 Indian Street\t\t\t\t\t\t\t\t\t\t\t\t Savannah, GA 31401\t\t\t\tP.O. Box 1492 101-1001\t\t\t\t\\tSavannah, GA 31402\t\t\t\tUnited States of America\t\t\t\t\t\t\t\tPhone: +1 912 2342340\t\t\t\t\t\t\t\tFax: +1 912 2310060\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclwsurvey@aol.com\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\tMr. Williams, Charles \t\t\t\t\n\t\t\t\tPrv. Phone: +1 912 2348458\t\t\t\tMobile: +1 912 6568884\t\t\t\t \n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\n\t\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\t&amp;nbsp;&amp;nbsp;\n\t\t\n\t\t\n\t\t\t\n\t\t\t\t\t\n\t\t\n\n\t\t\n\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\n\t\t&lt;!--printview--&gt;\n\n\t\t\n\t\t\t\t\t\t\n\t\t\n\t\t&lt;!--printviewAnfang--&gt;\n\t\t\n\t\t\t\n\t\t\t\tMAP VIEW&amp;nbsp;&amp;nbsp;\t\t\t\tPRINT VIEW\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\t--------------------------------------------------------------------------------\n\t\t\t\n\t\t\n\t\t&lt;!--printviewEnde--&gt;\n\t\t"
  </code></pre>
  
  <p>I have tried using the following regex expressions in C#.</p>
  
  <pre><code>var reg1 = Regex.Replace(node.InnerText, @"\t|\n|,|&lt;!--(.*?)--&gt;|(&amp;nbsp.), " ");
  
  var reg2 = Regex.Replace(node.InnerHtml, @"/\t+/|/\n+/|", "*");
  </code></pre>
  
  <p>the problem is that the multiple \t just get replaced by whitespaces, and I want to replace the multitude of \t with a single empty space, with the ultimate goal of making the whole thing exportable to csv while being somewhat readable.</p>