Python regular expression quoted string : <p>I have the following string:</p>

<pre><code>str1 = "I am doing 'very well' for your info"
</code></pre>

<p>and I want to extract the part between the single quotes i.e. <strong><em>very well</em></strong></p>

<p>How am I supposed to set my regular expression?</p>

<p>I tried the following but obviously it will give wrong result</p>

<pre><code>import re
pt = re.compile(r'\'*\'')
m = pt.findall(str1)
</code></pre>

<p>Thanks</p>
