Parse input for quick search