Getting User ID or Name from Google Plus Profile Url
<p>GooglePlus profile urls can be written as:</p>

<pre><code>https://plus.google.com/117302453758282711096/
https://plus.google.com/u/0/105604861727423445668
https://plus.google.com/u/1/105604861727423445668
https://plus.google.com/+tuando
</code></pre>

<p>In php or even regular expressions in general to help others, how can I parse this url to return the username/userid?</p>