title: Simple - using String#scan to extract an email address
body: <p>I've got a string that contains:</p>
  
  <pre><code>@from = "John Doe &lt;john.doe@daemon.co.uk&gt;"
  </code></pre>
  
  <p>When I do:</p>
  
  <pre><code>@from.scan('/\b[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}\b/i')
  </code></pre>
  
  <p>I get no results. I'm trying to extract the email address on it's own.</p>
  
  <p>I tried removing the \b's but this did not work either.</p>
  
  <p>Any help would be much appreciated.</p>