title: str_replace + regular expression
body: <p>I have:</p>
  
  <pre><code>http://stackoverflow.com/questions/43242&amp;cat=aa&amp;id=342342
  http://stackoverflow.com/questions/43242&amp;cat=aa&amp;body=434&amp;id=232
  http://stackoverflow.com/questions/43242&amp;cat=aa&amp;call=2323&amp;id=14143434
  </code></pre>
  
  <p>i would like receive:</p>
  
  <p>this link without parameter id:</p>
  
  <pre><code>http://stackoverflow.com/questions/43242&amp;cat=aa
  http://stackoverflow.com/questions/43242&amp;cat=aa&amp;body=434
  http://stackoverflow.com/questions/43242&amp;cat=aa&amp;call=2323
  </code></pre>
  
  <p>how this make with PHP? str_replace + regular expression?</p>