public function replaceContent(&$parameters, TypoScriptFrontendController $parentObject)
    {
        if (TYPO3_MODE === 'FE') {

            // Fetch configuration
            $configuration = $parentObject->config['config']['tx_replacecontent.'];

            // Quit if no search/replace configuration is found
            if (!is_array($configuration['search.']) || !is_array($configuration['replace.'])) {
                return;
            }

            // Replace Content
            $parameters['pObj']->content = preg_replace(
                $configuration['search.'],
                $configuration['replace.'],
                $parameters['pObj']->content
            );
        }
    }