Find letters in paragraph via PHP
<p>Let's say I have this sentence.</p>

<p>"The dog took the kid's bone."</p>

<p>Well using PHP, can I find specific letters inside that sentence (if any at all) that I specify?</p>

<p>So for example, I want to find the letters g, t, h, and e.</p>

<p>Then the sentence would appear like:</p>

<p>The do <strong>g</strong> -- <strong>t</strong> ook t <strong>h</strong> e kid's bon <strong>e</strong>.</p>

<p>(sorry about formatting...)</p>

<p>See how certain letters are bolded (highlight in a way). They are from the g,t,h, and e combo I wanted. Is there a way to do this in PHP?</p>

<p>Also, I forgot to mention that once a letter is found... it cannot be bolded again. So if I was looking for a <strong>t*</strong> and the letter t appeared more than once... it would ONLY highlight ONE (the first) t... UNLESS I specify to find more than one t.</p>
