Exclude regex feature

Supports whitelisting and blacklisting.