function clean($arg, $tags = NULL)
{
$fw = $this;
return $this->recursive($arg, function ($val) use($fw, $tags) {
if ($tags != '*') {
$val = trim(strip_tags($val, '<' . implode('><', $fw->split($tags)) . '>'));
}
return trim(preg_replace('/[\\x00-\\x08\\x0B\\x0C\\x0E-\\x1F]/', '', $val));
});
}