title: preg_replace specific word followed by random number
body: <p>I'd like to replace a specific word followed by random number followed by specific symbol. I figured the correct php function would be <code>preg_replace</code> but I have no idea how to proceed.</p>
  
  <p>what I have is a string that contains a joomla non-sef url which looks like that:</p>
  
  <pre><code>index.php?option=com_k2&amp;Itemid=378&amp;lang=el&amp;tag=some-tag-name&amp;task=tag&amp;view=itemlist
  </code></pre>
  
  <p>and I need to remove the <code>Itemid=378&amp;</code> part. The number 378 could be a different number at any time so I need to catch all numbers.</p>
  
  <p>Any help would be greatly appreciated</p>