mais avec des balise (preg_match_all('`<font[^>]*>([^<]+)</font>`i',$fichier,$out);)
j'essaie avec l'exemple , et hop ça marche (logique)
maintenant j'essaie avec mon texte html et la section que je recherche et ça ne marche pas ... j'aimerai recupéré le 566,90 (et aussi pk pas si sur la meme page il y en a plusieur les recuperé tous mais a la limite ça c'est pas important
alors j'ai essayé un truc genre (voir ci dessous) mais aucun resultat ça me donne un Array vide
Code : Tout sélectionner
preg_match_all('`€ ([^<]+)<br>`i',$fichier,$out);
<tr><td style="border-top: 1px solid white; border-bottom: 1px solid white; margin: 0px; padding: 5px;" align="left">
<td style="border-top: 1px solid white; border-bottom: 1px solid white; margin: 0px; padding: 0px 5px;" align="right">
<h3 style="color: rgb(255, 105, 0);">€ 566,90<br>
<tr>
<td colspan=2>
<table width=100%>