Is there a clever jQuery selector for selecting a text node like this:
one two three
Check out this jQuery highlight plugin: http://tinyurl.com/6rk6ae
It might not do exactly what you want, but the source contains good examples of working with text nodes and efficiently modifying the DOM around them.