in reply to Re^3: Remove all html tag Except 'sup'
in thread Remove all html tag Except 'sup'

That will also keep <supfoo> and <foosup>. A partial improvement may be
$tag = qr{</?(?:(?![< ]sup[ >])[^>])*>}i;
It works, however I'm not terribly sure about why it works...