Escape spaces and other non safe characters within search string.