I'm trying to replace every instance of ®
on every page with <sup>®</sup>
but I can't seem to hit every single one. I currently have:
$(document).ready(function(){
var replaced = $('body').html().replace('®','<sup>®</sup>');
$('body').html(replaced);
});
but it's only replacing the first occurance of the ®
. How can I get it to do all of them?