function extraire_numero ($titre) { if (ereg("([0-9]+)\.", $titre, $match)) { return $match[1]; } else return $titre; }