I need to check if there is and capture links that contain (youtube.com/embed) in an array. The position of the link in the array is always variable. How should I do it?
Array
(
[0] => esqueci
[1] => de
[2] => entrar
[3] => no
[4] => link
[5] => https://www.youtube.com/embed/zHNOQpl00_I
[6] => para
[7] => poder
[8] => testar,
[9] => https://www.google.com.br,
[10] => https://terra.com.br,
[11] => https://www.youtube.com/videos/asdasd
[12] =>
)
Thank you in advance,