URL
Mar 8 12:51:26 10.10.255.5 haproxy[4843]: 124.240.42.88:54351[10.10.255.5:36672]->121.14.0.101:80[121.14.0.101:] の照合を手伝ってくれる人はいますか? 80 ] [08/3/2012:12:51:26.627] http_check http_image/
/500/9/0/ 0 0/0 {news.sohu.com|http://wei.sohu.com/s2011/wei/?20120308} "GET /upload/sogou_world_20100618/h_bg_tag74on.gif HTTP/1.1"
------解決策----------------------
$log = '
3 月 8 日 12:51:26 10.10.255.5 haproxy[4843]: 124.240.42.88:54351[10.10.255.5:36672]->121.14.0.101:80[121.14.0.101:80] [ 08/3/2012:12:51:26.627] http_check http_image/
/500/9/0/0 0/ 0 {news.sohu.com|http://wei.sohu.com/s2011/wei/?20120308} "GET /upload/sogou_world_20100618/h_bg_tag74on.gif HTTP/1.1"
';
preg_match('/http://(.*?)s*}/s', $log, $m);
print_r($m[1]);
------解決策------------------
"#://([^/]+)#"