HTML to Plain TextStrip tags via DOMParser and extract visible text.Uses DOMParser for text nodes; scripts are not executed—still avoid pasting huge untrusted HTML.HTML<p>Hello <b>world</b></p>Extract plain textPlain text