Hi,
Imagine I have a string - something like this:
This is some really cool text about http://google.com/ and it also contains some urls like http://apple.com/ and its very nice! This is too long and I need to do some magic stuff to fix this very big problem. Oh no.
As you can see there are two URLs in the string and somehow, assuming I need some kind of REGEX I need to get an array of those URL's so I can manipulate them. Something like this...
Array()
- [0] = 'http://google.com/'
- [1] = 'http://apple.com/'
All help appreciated :) Thanks!