Change registered characters (R)

Is it possible to find with jQuery in all characters that are written with

® 

and wrap them with sup tag?

 <sup>&reg;</sup> 
+6
jquery
source share
1 answer
 var replaced = $('body').html().replace('&reg;', '<sup>&reg;</sup>'); $('body').html(replaced); 
+6
source share

All Articles