title: File name pattern matching in Windows command line
body: <p>I have several files like:</p>
  
  <pre><code>a.txt
  a$.txt
  a$b.txt
  b.txt
  b$.txt
  b$c.txt
  </code></pre>
  
  <p>I would like to print file whose name does not contain '$' using Windows command line for file name pattern matching like regular expression:</p>
  
  <pre><code>for %%f in ([^$]+.txt) do type %%f
  </code></pre>
  
  <p>or</p>
  
  <pre><code>for %%f in ([a-zA-Z]+.txt) do type %%f
  </code></pre>
  
  <p>But it does not work. How can I do this using Windows command line? Thanks!</p>