title: get id video vimeo with regexp preg_match
body: <p>I try to get the id video from an url of vimeo, but looking in the source code sometimes it comes like:</p>
  
  <pre><code>http://vimeo.com/XXXXXXXXX
  </code></pre>
  
  <p>and others like:</p>
  
  <pre><code>http://player.vimeo.com/video/XXXXXXXXX
  </code></pre>
  
  <p>I just get the id video, but it must be with regExp because I must parse a content from a blog and format like a facebook page does when we insert code html.</p>
  
  <p>This is the regExp that I made:</p>
  
  <pre><code>/vimeo\.com\/(\w+\s*\/?)*([0-9]+)*$/i
  </code></pre>
  
  <p>Can you help me? I appreciate all your help.</p>
  
  <p>PD: Sorry for my english</p>