javascript tokenizer
<p>I have a question about splitting string in javascript. I'm getting a string from somewhere else and I want to get only a part of it. I can't use substr because its length can be altered. I also looked at split method, but it is not enough also. For example, one of my strings looks like this:</p>

<pre><code>&lt;img src="http://image.weather.com/web/common/wxicons/31/30.gif?12122006" alt="" /&gt;Partly Cloudy, and 84 &amp;deg; F. For more details?
</code></pre>

<p>I only want to get img tag and the number 84. Any suggestion? Thanks</p>
