babyshandy
9/24/2014 - 7:10 AM

http://stackoverflow.com/questions/1361741/get-characters-after-last-in-url

$url = "http://www.vimeo.com/1234567";

if ( preg_match( "/\d+$/", $url, $matches ) ) {
    print $matches[0];
}