preg_match_all( "/(<a href=\".\/)(.*)(<\/a>)/i", $str, $val);

これじゃだめなの?