escapes some special characters in the search textfield