public function strip($pageContent, $wrap)
    {
        $pattern = '/'.$wrap.'(.*?)'.$wrap.'/s';
        $match = preg_match($pattern, $pageContent, $matches);

        if ($match) {
            $page['config'] = $matches[1];
            $page['content'] = str_replace($matches[0], '', $pageContent);
            return $page;
        }

        return array('config' => '', 'content' => $pageContent);
    }