remove suffix from search strings