parsing user_agent_string in postgres sql
<p>I'm stuck trying to parse a <code>user_agent_string</code> in postgres sql.</p>

<p>This is an example string: </p>

<blockquote>
  <p>Stucko/4.13.0 (iPhone; iOS 9.2.1; Scale/2.00)</p>
</blockquote>

<p>I want to extract just the <code>iOS 9.2.1</code> part. I'm inclined to think this can be down with regular expressions but I'm not very familiar with that and thus haven't been able to figure out a usable solution.</p>