Le 5 déc. 04, à 14:36, patrick jayet a écrit :

Y a-t'il un autre prob dans mon expressions régulière?

$str1 = preg_replace("%<foo.*hello.*</foo>%Us","replaced1", $str);

essaie cela
preg_replace("/<foo.*hello.*</foo>?/s","replaced1", $str);

A+

Bertrand

_______________________________________________
gull mailing list
[EMAIL PROTECTED]
http://lists.alphanet.ch/mailman/listinfo/gull

Répondre à