I need to return all the text results(s), if any, that share the maximum length left bounded substring common to the search string.
Given a search for \"StackOverflo
Don't know why you would look at the smallest first. I would do that in reverse... try by the LONGEST EXACT match first, and if not found, work backwards 1 character at a time until one is found.