I wanted it to be able to take the selected string, search the rest of the document for the same string (the documents that it will be marking up will always have multiple instances of the subheader phrase) and then add span tags to those as well. Is there an efficient way to do that without regular expressions?