Strip surrounding whitespace on search