<html> <head> <title>Expression régulière</title> </head> <body> <?php $chaine = "Je dis non"; $resulat = ereg_replace("non", "oui", $chaine); print $resulat; ?> </body> </html>
<html> <head> <title>Expression régulière</title> </head> <body> <?php $chaine = "Je dis non"; $resulat = ereg_replace("non", "oui", $chaine); print $resulat; ?> </body> </html>