title: Regex to find number or none of spaces in a file use Visual Studio
body: <p>I Need to replace all the following samples with <code>&lt;#= ObjectType #&gt;</code></p>
  
  <pre><code>&lt;#= DatabaseName #&gt;.&lt;#= Table.Name #&gt;
  &lt;#=DatabaseName#&gt;.&lt;#=Table.Name#&gt;
  &lt;#=  DatabaseName  #&gt;.&lt;#=  Table.Name  #&gt;
  &lt;#=DatabaseName #&gt;.&lt;#= Table.Name#&gt;
  </code></pre>
  
  <p>As you see All of this samples start with <code>&lt;#=</code> and can continued by some spaces or none then <code>DatabaseName</code> and again can continued by some spaces or none then <code>#&gt;.&lt;#=</code> and again can continued by some spaces or none then <code>Table.Name</code> then some spaces or non and at the end <code>#&gt;</code></p>
  
  <p>I try to use Visual Studio 2010 Find and replace files so what is your suggestion regex to match this samples?</p>