clean search string