I want to modify the withdrawal of an array of strings where the start and end are found
<?php
$file = ('http://gdata.youtube.com/feeds/base/users/BBCArabicNews/uploads?alt=rss&v=2&orderby=published&client=ytapi-youtube-profile'); 
$string=file_get_contents($file);
    function findinside($start, $end, $string) {
       preg_match_all('/' . preg_quote($start,'/') . '(.+?)'. preg_quote($end, '/').'/si', $string, $m);
        return $m[1];
    }
    $start = ':video:';
    $end = '</guid>';
    $out = findinside($start, $end, $string);
  $out = findinside($start, $end, $string);
foreach($out as $string){
  echo $string;
echo "<p></td>\n";
 }
?>
Results
Q80QSzgPDD8
ozei4GysBN8
ak3bbs_UxP0
rUs-r3ilTG4
p4BO6FI5sPY
j5lclrPzeVU
dK5VWTYsJaM
mERug-d536k
h0zqd3bC0-E
ije5kuSfLKY
H9XXMPvEpHM
EK5UoQqYl4U
This works properly in withdrawing of an array of strings I want to add also
  $start = '</pubDate><atom:updated>';
        $end = '</atom:updated>';
I want to be Show two array of strings Example
xSD0XJLkLQid
2011-11-08T17:36:14.000Z
bFU066NwVnD
2011-12-08T17:36:14.000Z
Can I do this with this code
Greetings
 
     
    