Réponse acceptée !
Un grand merci à Exetron ( Tchat IRC ) qui m'a repondu à 3:15 du matin (heure francaise). Merci
en faites, il faut utilisé preg_match()
voici un example ..
<?php
$bufin="AZERTYU";
$t1="ZE";
$t2="TY";
preg_match('/'.$t1.'(.*)'.$t2.'/',$bufin,$resultat);
echo $resultat[1]
?>$resultat[0] retournera ZERTY
et $resultat[1] retourne R
Au niveau de la syntaxe du masque...
[ Lien ]