Regular Expression for Folder Path
<p>If I have the following regular expression:</p>

<pre><code>c:\\Users\\.*?\\AppData\\.*?\.exe
</code></pre>

<p>It will match:</p>

<pre><code>C:\Users\jftuga\AppData\test.exe
C:\Users\jftuga\AppData\Local\test.exe
</code></pre>

<p>How can I modify the RE so that is only matches the first entry and not sub-directories as well?</p>

<p>I am using c# and .net framework 4 - with <code>RegexOptions.IgnoreCase</code></p>