Search during input by string