Powered by Ajaxy
Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Rechercher et remplacer avec la fonction ‘ereg_replace(string pattern,string replace, string string) ‘


{filelink=13372}

<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>

No comments yet.

Leave a Comment