in reply to Re: s/// don't delete matching phrase
in thread s/// don't delete matching phrase

This is good advice. For example, in xsh, you can do just
open :F html file.html ; echo //text() ;
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ