About 3,070,000 results
Open links in new tab
  1. 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.

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

  3. 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 …

  4. 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 …

  5. Text Replacer - Find and Replace Text Online

    Find and replace text in your documents instantly. Free online text replacer with regex support, case sensitivity, and multiple replacement options.

  6. 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 …

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

  8. 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 …

  9. REPLACE | English meaning - Cambridge Dictionary

    REPLACE definition: 1. to take the place of something, or to put something or someone in the place of something or…. Learn more.

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