I'm trying to extract richard123 using php preg_replace but there are a lot of white spaces and new lines and I think because of that my regexp doesn't work . The html can be seen here : http://pastebin.com/embed_iframe.php?i=vuD3z9ij My current preg_match is :
$find = "/< tr bgcolor=\"F0F0F0\" valign=\"middle\">< td align=\"left\">< font size=\"-1\">(.*)<\/font><\/td>/";
preg_match_all($find, $res, $matches2);
print_r($matches2);
I also tried
<\/td>/s";
<\/td>/m";
<\/td>/x";but doesn't work either .