title: Remove the unwanted commented code copied from word using php
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/379342/php-to-clean-up-pasted-microsoft-input">PHP to clean-up pasted Microsoft input</a>  </p>
  </blockquote>
  
  
  
  <p>Need to remove the code in comments </p>
  
  <pre><code>[if gte mso 9]&gt;&lt;xml&gt; &lt;w:WordDocument&gt;  ..... --&gt; [endif] --&gt;
  </code></pre>
  
  <p>from my db field, when copying text from word and saving this unwanted code is coming.In Ie the source after this was not displaying as it causes display problems</p>