About 4,560,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

    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 …

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

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

  5. Find and Replace Online - Find and Replace Text Online Tool

    3 days ago · Find and Replace online tool allows you to easily search for a letter, number, word, or phrase in your text document and substitute it with something else. It can be very useful …

  6. Who could replace Nancy Pelosi in Congress after her retirement?

    7 hours ago · Who could replace House Speaker Nancy Pelosi after she leaves Congress in January 2027 depends on which candidate succeeds in a June 2026 primary.

  7. Python String replace () Method - GeeksforGeeks

    Oct 28, 2024 · The replace () method replaces all occurrences of a specified substring in a string and returns a new string without modifying the original string. Let’s look at a simple example of …

  8. JavaScript String replace () Method

    In this tutorial, you'll how to use JavaScript String replace () function to replace a substring in a string with a new one.

  9. How to Replace a String in Python

    Jan 15, 2025 · Replacing strings in Python is a fundamental skill. You can use the .replace() method for straightforward replacements, while re.sub() allows for more advanced pattern …

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