No need for the $remove(). You can do it all with $regsub():
alias -l html { var %h echo -q $regsub($1,/<[^>]*>| /g,,%h) return %h }