FredIkO,
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<script src="//code.jquery.com/jquery-1.11.3.min.js"></script>
<title>Document</title>
</head>
<body>
<div class="qqq">(Сегодня, 01:09 ) </div>
<div class="qqq">(Сегодня, 01:09 ) </div>
<div class="qqq">(Вчера, 22:04 ) </div>
<div class="qqq">(Вчера, 22:04 ) </div>
<script>
$(".qqq").each(function (inx, el) {
if($(el).text().match(/Вчера/)){
console.log(el.innerHTML);
$(el).html('Вчера')
}
});
</script>
</body>
</html>