protected function sanitizeContent($content) {
    $regex = '/^\n' . preg_quote($this->blockStart, '/') . ".*?" . preg_quote($this->blockEnd, '/') . '\n/sm';
    return preg_replace($regex, '', $content);
  }
protected function sanitizeContent($content) {
    $regex = '/^\n' . preg_quote($this->blockStart, '/') . ".*?" . preg_quote($this->blockEnd, '/') . '\n/sm';
    return preg_replace($regex, '', $content);
  }
protected function sanitizeContent ( $ content ) { $ regex = '/^\n' . preg_quote ( $ this -> blockStart , '/' ) . ".*?" . preg_quote ( $ this -> blockEnd , '/' ) . '\n/sm' ; return preg_replace ( $ regex , '' , $ content ) ; }
Remove settings block from given content.

@param string $content
Content of a PHP file.

@return string
Content without setting block.
Remove settings block from given content .