title: How to change one line in a file using NAnt?
body: <p>I need to use NAnt to update one specific line in a .js file.
  The line will be something like:</p>
  
  <pre><code>global.ServerPath = 'http://server-path/';
  </code></pre>
  
  <p>I need a way to update the "server-path" part of that line with that of the destination server.<br>
  ReplaceString is no good, since I won't know what the path in the file is when I update it.  </p>
  
  <p>Any help?</p>
  
  <p>Thanks in advance</p>