public function stripDataTags(&$tpl) { $tpl = preg_replace('/{{:.[^}}]+}}/', '', $tpl); //return $tpl; }