title: String to array (regex, explode or something else)?
body: <p>What's the easiest way to break a string that's formatted as <code>"PT2M19S"</code> or <code>"PT19S"</code> (YouTube api video durations) apart so that I end up with an array like so?</p>
  
  <pre><code>Array
  (
      [M] =&gt; 2
      [S] =&gt; 19
  )
  </code></pre>