I am working on an automatic tagging project and was wondering if there was a way to search for the first instance of a string contained within the search string: