title: URL rewrite to exclude certain HTML files
body: <p>I need to URL write uppercase URLs to lowercase. </p>
  
  <p>I got that part working.</p>
  
  <p>However, I am having problem. I am interested in excluding from the above <code>*.html?vs=12312312</code> </p>
  
  <p>I tried the following:</p>
  
  <pre><code>RewriteCond %{REQUEST_URI} !^.*\.(html\?vs=) [NC]
  </code></pre>
  
  <p>But it didn't work. </p>
  
  <pre><code>http://foo.com/com.foo.bar/content/Any.html?vs=12312312
  </code></pre>
  
  <p>The above should stay the way it is, and not be rewritten. </p>
  
  <p>What's wrong with the rule above? What should be the proper syntax?</p>
  
  <p><strong>Update</strong></p>
  
  <p>I tried the following:</p>
  
  <pre><code>RewriteCond %{REQUEST_URI} !(.*\.html\?vs=.*)$ [NC]
  </code></pre>
  
  <p>But still no luck. </p>