<?php //$html : user submitted html text$html = strip_tags($html);$pat = "([\']|[\"]|[\$]|[\#]|[\<]|[\>]|[\*]|[\%]|[\~]|[\`]|[\^]|[\|]|[\{]|[\}]|[\\\])";html = eUTF::utf8_trim(preg_replace($pat, '', $html));?>