I try to get the id video from an url of vimeo, but looking in the source code sometimes it comes like:
http://vimeo.com/XXXXXXXXX
and others like:
http://player.vimeo.com/video/XXXXXXXXX
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.
This is the regExp that I made:
/vimeo\.com\/(\w+\s*\/?)*([0-9]+)*$/i
Can you help me? I appreciate all your help.
PD: Sorry for my english