alias -l html {
var %x, %i = $regsub($1-,/(^[^<]*>|<[^>]*>|<[^>]*$)/g,$null,%x), %x = $remove(%x, )
return %x
}
You set %i but you never use it again..
Try:
alias -l html return $remove($regsub($1-,/(^[^<]*>|<[^>]*>|<[^>]*$)/g,$null,$1-), )
I dont know what the ",$null,$1-" part does though..