$str = '<A herf="http://www.sohu.com"> ee</A>';
preg_match("/\"(.+)\"/", $str, $matches);
print_r($matches);