UI/logic glue for finding repeated instances of a string specified by user