title: Replace &nbsp; with a blank or empty string PHP
body: <p>Well, I have tried these and it seems that none of them are working, my example string is </p>
  
  <pre><code> $text_description="&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  &amp;nbsp;Hello world! lorel ipsum";
  
   $text_description= str_replace("&amp;nbsp;"," ",$text_description);
   $text_description = preg_replace("/&amp;#?[a-z0-9]+;/i"," ",$text_description);
   $text_description=html_entity_decode($text_description);
  </code></pre>