About 2,320,000 results
Open links in new tab
  1. String.prototype.replace () - JavaScript | MDN

    Jul 10, 2025 · The replace() method of String values returns a new string with one, some, or all matches of a pattern replaced by a replacement. The pattern can be a string or a RegExp, and …

  2. JavaScript String replace () Method - W3Schools

    replace() is an ECMAScript1 (JavaScript 1997) feature. It is supported in all browsers: Well organized and easy to understand Web building tutorials with lots of examples of how to use …

  3. Python String replace () Method - W3Schools

    Definition and Usage The replace() method replaces a specified phrase with another specified phrase. Note: All occurrences of the specified phrase will be replaced, if nothing else is specified.

  4. String.Replace Method (System) | Microsoft Learn

    Returns a new string in which all occurrences of a specified Unicode character or String in the current string are replaced with another specified Unicode character or String.

  5. Python String replace () Method - GeeksforGeeks

    Nov 17, 2025 · The replace () method returns a new string where all occurrences of a specified substring are replaced with another substring. It does not modify the original string because …

  6. Replace Strings in Python: replace (), translate (), and Regex

    May 4, 2025 · In Python, you can replace strings using the replace() and translate() methods, or with regular expression functions like re.sub() and re.subn(). Additionally, you can replace …

  7. replace() in Python to replace a substring - GeeksforGeeks

    Jan 31, 2025 · replace () method in Python allows us to replace a specific part of a string with a new value. It returns a new string with the change without modifying the original one.

  8. String.prototype.replaceAll () - JavaScript | MDN

    Jul 22, 2025 · Can be a string or an object with a Symbol.replace method — the typical example being a regular expression. Any value that doesn't have the Symbol.replace method will be …

  9. Word Replacer - Find and Replace Words Online

    Word Replacer - Find and Replace Words Online Our Word Replacer is a powerful online tool that allows you to find and replace words or phrases in your text instantly. Whether you need to …

  10. How to Replace a String in Python

    Jan 15, 2025 · In this tutorial, you'll learn how to remove or replace a string or substring. You'll go from the basic string method .replace () all the way up to a multi-layer regex pattern using the …