How to remove the suffix using gulp rename
<p>I wish to copy some twig files while removing the 'src' suffix
example: someCode.html.src.twig 
with the result : someCode.html.twig 
using gulp rename as I must have this change implemented for several files that all have the src suffix. </p>

<p>I also wish to maintain the directory structure:</p>

<p>example:</p>

<p>D: test --> formsDirectory --> someFile.html.src.twig
                           , someotherFile.html.src.twig</p>

<pre><code>    --&gt; SomeOtherDir   --&gt; onemore.html.src.twig
</code></pre>

<p>result:
D: someDir --> formsDirectory --> someFile.html.twig
                           , someotherFile.html.twig</p>

<pre><code>       --&gt; SomeOtherDir   --&gt; onemore.html.twig
</code></pre>

<p>I know that I can use gulp rename to remove the extension and basename however I wish to only change the suffix are illustrated. Any Help would be Great! thanks</p>