How to remove "<",">" and all text between them in a string?
<p>I have these sample strings</p>

<pre><code>"&lt;textcolor='red'&gt;&lt;h1&gt;FAILED - NOT ENOUGH STEPS PERFORMED&lt;/h1&gt;&lt;/textcolor&gt;"
"&lt;b style='color:white; background-color:red'&gt;FAILED&lt;/b&gt;"
</code></pre>

<p>and I'd like to get rid of all the HTML formatting there so I get this</p>

<pre><code>"FAILED - NOT ENOUGH STEPS PERFORMED"
"FAILED"
</code></pre>

<p>I guess getting rid of the lessthan and greaterthan signs and anything between them would do. I know I could use preg_replace for this but I'm not exactly sure what format to use.</p>
