What is inside first <> brackets
<p>I want to get content inside the first angle brackets in a string, like  </p>

<pre><code>str = 'testing &lt;i need this&gt; yes... and &lt;i dont need this&gt;';  
str1 = '&lt;i also need this&gt; where r u?';  
</code></pre>

<p>I want
'i need this' from str<br>
'i also need this' from str1</p>
