JSFiddle - React, Tailwind, and code Playground

by pradeep

HTML

<sup> &reg; </sup>
&reg;
<sup>®</sup>
®
<sup><sup><sup><sup>®</sup></sup></sup></sup>

JavaScript

Array.prototype.slice.call(document.getElementsByTagName('sup')).forEach(sup => sup.remove());