```
<?php echo $videoFirstArray['fileToUpload']; ?>

```

This field contains the ifrmae,something like this 

```
<iframe width="560" height="315" src="https://www.youtube.com/embed/ISMzgunUono" frameborder="0" allowfullscreen></iframe>

```

From this i want this "ISMzgunUono".I've searched the forum and follwed the link but didn't find the any way to keep my 'fileToUpload' field inside the pregmatch.
Some of the links that i follwed:
[Get YouTube video id from embed iframe code](https://stackoverflow.com/questions/21845089/get-youtube-video-id-from-embed-iframe-code)
and this link gives an error
[how to get Video id from iframe of youtube in php or cakephp](https://stackoverflow.com/questions/6449497/how-to-get-video-id-from-iframe-of-youtube-in-php-or-cakephp)
Expecting replies soon: