replace \r|\n with space in shortQuery