If Div Contains EXACT text, add class
<p>Okay, So I am looking to make a script where if this code contains the exact word "is123" the class "a" will be added to div id "#1" the problem is, ":contains" will work without EXACTLY containing the entire string. I did research and find answers, but none that I was able to understand and apply to my situation! Thanks!</p>

<p>div id 1 is a count down which is changed every second.</p>

<pre><code>&lt;div id="1"&gt;1:05&lt;/div&gt;
&lt;div class="2 hidden"&gt;ayyy&lt;/div&gt;
&lt;script&gt;
if ($("#1").text().trim() === "1:05") {
$(".2").removeClass('hidden');
}
&lt;/script&gt;
</code></pre>