<?php
	//The code should look like.


$contents ='
      var sites = [
 //Texte anime
  {url:" http://c...content-available-to-author-only...o.com/canal/", duration:9},
 //Texte anime
  {url:" http://c...content-available-to-author-only...o.com/canal-2/", duration:9}, 
  //Intro detallee
 {url:"http://c...content-available-to-author-only...o.com/index-t1.html", duration:35},
 //CTA
 {url:"http://c...content-available-to-author-only...o.com/index-t2.html", duration:35},
     //Football
  {url:"http://c...content-available-to-author-only...o.com/twitter-ligue/", duration:100},  
 //Texte anime
  {url:" http://c...content-available-to-author-only...o.com/canal-2/", duration:9},     
  //TrailersClub.com
  {url:"http://t...content-available-to-author-only...b.com/?lang=fr", duration:480},    
 //Heure
 {url:"http://c...content-available-to-author-only...o.com/heure", duration:8},
 //Meteo
 {url:"http://c...content-available-to-author-only...o.com/meteo", duration:12},
 //Texte anime
  {url:" http://c...content-available-to-author-only...o.com/canal-cine/", duration:9},
 //Cine
 {url:"http://c...content-available-to-author-only...o.com/cine/index-t1.html", duration:150},
  //Texte anime
  {url:" http://c...content-available-to-author-only...o.com/canal-2/", duration:9}, 
 //Heure
 {url:"http://c...content-available-to-author-only...o.com/heure", duration:8},
 //Meteo
 {url:"http://c...content-available-to-author-only...o.com/meteo", duration:12},
 //Texte anime
  {url:" http://c...content-available-to-author-only...o.com/canal-cine/", duration:9},
   //Cine
';

$reg_exUrl = '/url\s*:\s*"([^"]+)"/';
preg_match_all($reg_exUrl,$contents,$matches);
print_r($matches[1]);
?>