{"json_modified": "2016-05-09T12:43:58.954831", "uuid": "e4cc9cc3-3712-4adc-bca1-14eeaae2ec38", "title": "RegExp.prototype[@@replace]()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/RegExp/@@replace", "tags": ["prototype", "RegExp", "R\u00e9f\u00e9rence", "Prototype", "Javascript", "JavaScript", "javascript", "M\u00e9thode"], "translations": [{"uuid": "10883680-ff5b-450c-ab8a-0a6d5260b950", "title": "RegExp.prototype[@@replace]()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/@@replace", "tags": ["prototype", "Reference", "RegExp", "Javascript", "Prototype", "Regular Expressions", "JavaScript", "javascript", "Method"], "summary": "The [@@replace]() method replaces some or all matches of a this pattern in a string by a replacement, and returns the result of the replacement as a new string. The replacement can be a string or a function to be called for each match.", "localization_tags": [], "locale": "en-US", "last_edit": "2016-05-09T06:35:14", "review_tags": []}], "modified": "2016-05-09T12:43:58", "label": "RegExp.prototype[@@replace]()", "localization_tags": [], "locale": "fr", "id": 180876, "last_edit": "2016-05-09T12:43:54", "summary": "La m\u00e9thode [@@replace]() remplace toutes ou certaines correspondances d'un motif this dans une cha\u00eene de caract\u00e8re avec un outil de remplacement. La valeur renvoy\u00e9e est la nouvelle cha\u00eene ainsi cr\u00e9\u00e9e. Cet outil de remplacement peut \u00eatre une cha\u00eene de caract\u00e8re ou une fonction appel\u00e9e pour chacune des correspondances.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntaxe", "title": "Syntaxe"}, {"id": "Param\u00e8tres", "title": "Param\u00e8tres"}, {"id": "Valeur_de_retour", "title": "Valeur de retour"}, {"id": "Description", "title": "Description"}, {"id": "Exemples", "title": "Exemples"}, {"id": "Appel_direct", "title": "Appel direct"}, {"id": "Utiliser_replace_dans_une_sous-classe", "title": "Utiliser "}, {"id": "Sp\u00e9cifications", "title": "Sp\u00e9cifications"}, {"id": "Compatibilit\u00e9_des_navigateurs", "title": "Compatibilit\u00e9 des navigateurs"}, {"id": "Voir_aussi", "title": "Voir aussi"}], "slug": "Web/JavaScript/Reference/Objets_globaux/RegExp/@@replace", "review_tags": []}