title: Redirect URL except subpages
body: <p>I'm trying to redirect everything under <code>www.mywebsite/asd/</code> except for three URLs and any subcontent, <code>www.mywebsite/asd/A/</code>, <code>www.mywebsite/asd/B/</code> and <code>www.mywebsite/asd/A/</code>.</p>
  
  <p>I tried the following pattern, but it seems to be faulty:</p>
  
  <p><code>RedirectMatch 301 ^/asd/((?!A/|B/|C/).)* /asd/new-target/index.html</code></p>
  
  <p>The regular expression does what I want, when I test it in a regex editor. But in htaccess it doesn't work. What do I have to change?</p>