title: Replace spaces with &nbsp; in C#
body: <p>If I'm not sure about the number of spaces, How can I replace the Spaces After <code>&lt;br /&gt;</code> with <code>&amp;nbsp;</code> </p>
  
  <pre><code> string Text = "3 stunning private villas &lt;br /&gt;   The Beach villa";
   if (Text.Contains("&lt;br /&gt; "))
   {
     Text = Text.Replace("&lt;br /&gt; ", "&lt;br /&gt;&amp;nbsp;");
   }
  </code></pre>