function remove_comments($html){ return preg_replace('/<!--(.*?)-->/','',$html); }
Please note: JavaScript is required to post comments.