get all url in a string
Posted: Thu May 06, 2010 11:32 pm
hi all,
I have a string : "links : http://aa.link.com link 2 http://fea.link.com http://feafd.nlin.com all link"
How could i get all url in above string ?
the expected result will be an array with :
[0] : http://aa.link.com link
[1] : http://fea.link.com
[2] : http://feafd.nlin.com
I have a string : "links : http://aa.link.com link 2 http://fea.link.com http://feafd.nlin.com all link"
How could i get all url in above string ?
the expected result will be an array with :
[0] : http://aa.link.com link
[1] : http://fea.link.com
[2] : http://feafd.nlin.com