Is there a way in jQuery to find a string of text in jQuery and not replace it with something else but wrap that text with an element so when the script is finished it spits
You can just use .replace(), for example:
var str = "Hello world to all people"; str = str.replace(/(world to all)/g, "$1");
You can give it a try here applied to say the html of an element:
$("span").html(function(i, t) { return t.replace(/(world to all)/g, "$1"); });