how to extract a substring from a string in Python with regex? : <p>I have a string </p>

<p><code>&lt;b&gt;Status : Active&lt;br&gt;Code : C1654&lt;br&gt;&lt;br&gt;Shop &lt;a class="top"&lt;b&gt;Shop A&lt;/b&gt;&lt;/a&gt;&lt;/b&gt;</code> </p>

<p>And I want get <code>Active</code> , <code>C1654</code> and <code>Shop A</code>.</p>

<p>How to do the same thing in Python?</p>
