Your find term must be a regex that looks for the words you want outside of tags. Add capture groups for the word you caught. Then your replace should add the span tag and the word as you specified.
So the smarts is in the regex find, and the replace function you write looks at the capture group to build the replacement any way you want.
|