[jQuery] How can I replace some text to another fragment? Wrappers don't support it

[jQuery] How can I replace some text to another fragment? Wrappers don't support it


Hello. How can I replace some text to another fragment? For example,
if I want to highlight all words ‘the’ with red color, I guess to do
something like that
$('body').ReplaceTo(‘%the%’, ‘<span style=”background-color:
red;”>the</span>’);
I can’t do this with standard wrappers built-in on jQuery…