4
When using in various types of embed from various websites, go only search for the link. For example:
Youtube: <iframe width="420" height="315" src="https://www.youtube.com/embed/HLhuNbO0egU" frameborder="0" allowfullscreen></iframe>
Vimeo: <iframe src="https://player.vimeo.com/video/143592640?title=0&byline=0&portrait=0&badge=0" width="500" height="281" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
What I want, is to stay only with the video link, IE, what is inside src="". In the case of youtube I get https://www.youtube.com/embed/HLhuNbO0egU
Related : http://answall.com/questions/87372/php-regex-para-obten-2-groups-de-link-href
– Guilherme Lautert
Are you doing it right in the browsed or is it a capture of
SOAP
,CURL
php?– Guilherme Lautert
within the browser, embed comes from the database
– pc_oc