Configurable regex replacement filter

Replaces config.EXCLUDE_REGEXP