Im by using their rule

^(?!webmaster)[\w\/\d\_\-\:\;\?\=\.]+$

to complement all request that are different of website owner. How you can match request that are different of website owner OR some_other_dir ?

?

Try

^(?!(?:webmaster|SomeOtherDir))[\w\/\d\_\-\:\;\?\=\.]+$

The (?:webmaster|SomeOtherDir) is really a non taking group and also the | is really a "OR"

You may also simplify your character group, inside a character group most figures don't have to be steered clear of, the - needs to be at the start or even the finish (or needs getting away) otherwise it defines a personality range, and so i moved it towards the finish. The _ is incorporated in \w so need not be listed. (I don't know concerning the /, and so i let it rest because it is)

^(?!(?:webmaster|SomeOtherDir))[\w\/\d:;?=.-]+$