my $html_comment = Regexp::Token->create($some_comment_token); $html =~ s/$html_comment//g;