 <p>With Vim:</p> <pre><code>:%s/\vfunct\(([^,]+,\s*){2}\zs/my_/ </code></pre> <p>The <code>2</code> above is the number of arguments you want to skip.</p> <p>The catch: this breaks if some parameters are themselves function calls. There are plugins that allows you to cope with that situation.</p>