Replace Text
$(".text_div").text(function () {
return $(this).text().replace("contains", "hello everyone");
});
// Another Example without using a function and replace
nextQuery('body.nextCostco.nextSearchResults .nextNoSearchResultsText ul:nth-child(3) > li:first-child').text("Make sure that both the Item # and Pallet # are correct.");
nextQuery('body.nextCostco.nextSearchResults .nextNoSearchResultsText ul > li:nth-child(2)').text("Contact your Costco Regional Buyer to confirm information.");