How can I get all url from string and put them in array ?

For Exam :
$s="click here http://domain.com or here http://anydo.net";

I want to put all url in array
$Url[0]="http://domain.com";
$Url[1]="http://anydo.net";