I want to extract a url ending with .swf using php.
EXAMPLE
TEST TEST TEST http://website.com/example.swf
I want to get the url with the .swf
I used a function preg_replace()
preg_replace('!http://[^?#]+\.(?:swf|SWF)!Ui','', $content);
but it extract the url + some words after the url
THANKS..