title: Nginx rewrite rule with special character and Regex
body: <p>We have URLs that contains <code>#!</code> in their structure. I would like them to be redirected.</p>
  
  <p>From:</p>
  
  <pre><code>/#!/about/
  /#!/about/example/
  </code></pre>
  
  <p>To:</p>
  
  <pre><code>/about/
  /about/example/
  </code></pre>
  
  <p>I tried this rule, but it didn't work:</p>
  
  <pre><code>rewrite ^([\/][#][!][\/])(.+[\/])(.+[\/])$ /$2$3 permanent;
  </code></pre>