preg_match help

Hey guys,

im having a bit of trouble using preg_match

[code]<?PHP
$html = "

http://rapidshare.com/files/38115144/***.rar


http://rapidshare.com/files/38117171/***.rar

";

preg_match(’/
(.*)
/’, $html, $links);

print_r($links);
?>[/code]

returns

Array ( )

for some reason it cannot get the rapidshare links out from between the
can anyone help

Thanks[/code]

I am not sure, but I don’t think preg_match works in that way.

What exactly are you trying to accomplish?

Sponsor our Newsletter | Privacy Policy | Terms of Service