function get_a_content($file){ $h1count = preg_match_all("/(<a.*>)(\w.*)(<.*>)/ismU",$file,$patterns); return $patterns[2]; }