About 2,840,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 the …

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

  3. JavaScript String replace () Method - W3Schools

    The replace() method does not change the original string. If you replace a value, only the first instance will be replaced. To replace all instances, use a regular expression with the g modifier set. Read …

  4. REPLACE Definition & Meaning - Merriam-Webster

    replace, displace, supplant, supersede mean to put out of a usual or proper place or into the place of another. replace implies a filling of a place once occupied by something lost, destroyed, or no longer …

  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 Python strings are …

  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 substrings at …

  7. PHP: str_replace - Manual

    If search and replace are arrays, then str_replace () takes a value from each array and uses them to search and replace on subject. If replace has fewer values than search, then an empty string is used …

  8. replace - Wiktionary, the free dictionary

    Sep 18, 2025 · replace (third-person singular simple present replaces, present participle replacing, simple past and past participle replaced) (transitive) To restore to a former place, position, condition, …

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

  10. REPLACE | definition in the Cambridge English Dictionary

    They had a dozen cats on set that day, to replace the ones that didn't come up as they tried to get the scene.