title: RegEx for <a id="Some_Random_Text"/> in php
body: <p>I want to replace 
  <code>&lt;a id="any_text"/&gt;</code> with <code>space</code> or <code>""</code>. I'm using </p>
  
  <pre><code>$a=preg_replace("/&lt;\\/?a\\s|id(\\s+.*?&gt;|&gt;)/", "",$file);
  </code></pre>
  
  <p>but it only removes <code>&lt;a</code></p>