regular expression or wild card in tasklist
<p>I would like to use regular expression or wild card in tasklist </p>

<p>I have imagename going to be different for every build like AB1adf.exe, AB2dfas.exe, AG3dfas.exe ect</p>

<p>I have tried below but did not work.. </p>

<pre><code>tasklist /FI "IMAGENAME eq AB%.exe" | find /i "AB%.exe" 
tasklist /FI "IMAGENAME eq AB*.exe" | find /i "AB*.exe" 
</code></pre>