Find position of tags in string
<p>I have a string like :</p>

<pre><code>&lt;table&gt;&lt;tr&gt;&lt;td&gt;This is my string &lt;img width="100" height="10" src="images/image.jpg"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
</code></pre>

<p>I want to find the position of the <code>&lt;img</code> tag and the position of the end of the image tag. Is this possible? How would I go about doing this?</p>

<p>Thanks!</p>
