title: mod_rewrite rule: if URL contains a certain string
body: <p>My client keeps editing the structure of the navigation in the website, which is leading to some mod_rewrite issues. How could i make this rule:</p>
  
  <pre><code>RewriteRule ^studios/about-studios/artist-noticeboard noticeboard2.php?section=studios&amp;subSection=studio-artists [L]
  </code></pre>
  
  <p>to work if the url contains <code>"noticeboard"</code>? Like this:</p>
  
  <pre><code>RewriteRule ^IF CONTAINS 'noticeboard' noticeboard2.php?section=studios&amp;subSection=studio-artists [L]
  </code></pre>
  
  <p>Any pointers welcome!</p>