preg_match, regexp, php, beyaz boşluk ve yeni satırları göz ardı

0 Cevap php

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);

Ben de

<\/td>/x";
<\/td>/s";
<\/td>/m";
denedim ama ya çalışmıyor.

0 Cevap