title: How to clean version control $Id$ comment
body: <p>This might be a common question, but search engines are horrible at searching for non-alphanumeric characters.</p>
  
  <p>I have a bunch of code which contains the standard version control $Id$ tag/comment. I need an easy way to remove (clean, strip), all of these tags from every file in a directory structure.</p>
  
  <p>Specifically this is a PHP script (phpBB to be specific), and so looks like this:</p>
  
  <pre><code>&lt;?php
  /**
  *
  * @package acp
  * @version $Id: acp_attachments.php 8479 2008-03-29 00:22:48Z naderman $
  *
  */
  ?&gt;
  </code></pre>
  
  <p>The line I want to change is this:</p>
  
  <pre><code>* @version $Id: acp_attachments.php 8479 2008-03-29 00:22:48Z naderman $
  </code></pre>
  
  <p>So the line becomes:</p>
  
  <pre><code>* @version $Id$
  </code></pre>
  
  <p><br>
  Keep in mind, I'm on Windows, so I can't use a Linux command for find/replace. But I do have the ability to run PHP to act on all my files.</p>