I am currently battling to sort out a string manipulation problem. Being new to PHP I'm sure the solution is not that difficult. Perhaps someone here can point me in the right direction.
Here is the problem.
I have the following string
This is a test string for Benton's script here is [img:445865]http://www.asite.com/testing/one.jpg[/img:445865] furthermore to this test is the following too http://www.another.com/two.gif I need to strip this off to
I need to turn the string above into this
Basically stripping everything out except the two URL's!
Any help would be greatly appreciated.