used gsub to search for more than one word in search query