title: How to highlight the whole word in bold
body: <p>There is a suggestion: teg are divided into two categories.</p>
  <p>code:</p>
  <pre><code>echo preg_replace(&quot;/($word)/i&quot;,&quot;&lt;b&gt;$1&lt;/b&gt;&quot;, htmlspecialchars($words[i]).&quot;&lt;br&gt;&quot;;
  </code></pre>
  <p>If a word, such as a teg, only highlights it in bold. How to highlight an entire word, using the code above, highlights only part of the category</p>