php preg match parse something that could be a Youtube URL
My text is:
u0026itag=22\u0026url=http%3A%2F%2Fr5---sn-q4f7dnel.c.youtube.com\u0026sig
And I want to parse u0026url My PHP code:
preg_match('/u0026itag=22\u0026url=(.*?)/', $part, $A);
echo $A[1];
But it dont gives me result
No comments:
Post a Comment