Trim search line