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
I think you might use javascript:
var t= "Hello world to all people"; var output = t.replace("world to", "world to")); alert(output);