title: Match Question Mark in rewrite rule using .htaccess
body: <p>I have tried it in a different way that is also not working for me.</p>
  
  <p><strong>Match Question Mark in rewrite rule</strong> </p>
  
  <p>please help me on this</p>
  
  <p>Redirect to different url </p>
  
  <pre><code>http://localhost/crb/index.html?q=xxxxxxxx             
  </code></pre>
  
  <p>To</p>
  
  <pre><code>http://localhost/crb/demo/result?q=xxxxxxxx
  </code></pre>
  
  <p>I tried this</p>
  
  <pre><code>Options +FollowSymlinks
  RewriteEngine on
  rewriterule ^crb/index.html?q=xxxxxxxx(.*)$ http://localhost/crb/demo/result?q=xxxxxxxx$1 [r=301,nc]
  </code></pre>