]+>.+?'.
'http://www.youtube.com/v/([A-Za-z0-9\-_]+).+?#s';
$pre_replace = '\1';
return preg_replace($pre_regex, $pre_replace, $html);
}
public function postFilter($html, $config, $context) {
$post_regex = '#([A-Za-z0-9\-_]+)#';
$post_replace = '';
return preg_replace($post_regex, $post_replace, $html);
}
}