<html> <head> <title></title> <script> function bou(){ var chaine = "bonjour tous tous le le monde"; alert(chaine) if(chaine.indexOf('tous tous le')>=0){ chaine=chaine.replace("tous le",""); alert(chaine) } } </script> </head> <bold>ggggg</bold> </html>