 <p>Regex has a thing called a "non capturing negative lookahead assertion" which basically says "don't match the following". It looks like this: </p> <pre><code>^people/(?!People_Search)([A-Za-z0-9\-\_]+)/?$ </code></pre> <p>Whether you can use this depends on the rewrite engine you use, and the level of regex support that's included in it. I'd expect that most common rewriters support this. </p> <p>FYI: There are also negative lookbehind assertions(?&lt;!), and also postive versions of the lookahead (?=) and lookbehind (?&lt;=) assertions. </p> <p>Tutorial: <a href="http://www.regular-expressions.info/lookaround.html" rel="nofollow noreferrer">http://www.regular-expressions.info/lookaround.html</a></p>