I need to wrap each asterisks on a page with . The few things I\'ve tried don\'t work. I think what this boils down to is
How about this?...
http://jsfiddle.net/n3Sqn/
$("body:contains(*)").contents().each(function() { if(this.nodeType == 1) { $(this).html($(this).html().replace(/\*/g, "*")) } });