title: How to extract a substring using regex
body: <p>I have a string that has two single quotes in it, the <code>'</code> character. In between the single quotes is the data I want.</p>
  
  <p>How can I write a regex to extract "the data i want" from the following text?</p>
  
  <pre><code>mydata = "some string with 'the data i want' inside";
  </code></pre>