title: Make certain characters of a word from string bold
body: <p>I need to highlight a certain characters from a string,
  I tried str_replace and preg_replace. But these work only if full word is entered,</p>
  
  <pre><code>$text = str_replace($searhPhrase, '&lt;b&gt;'.$searhPhrase.'&lt;/b&gt;',  $text);
  $text = preg_replace('/('. $searhPhrase .')/i', '&lt;b&gt;$1&lt;/b&gt;', $text);
  </code></pre>
  
  <p>I want something like, if I search for 'and' even the letters from 'hand' should get highlighted. </p>
  
  <p>Thanks in advance.</p>