About 68,600 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. pandas.DataFrame.replace — pandas 3.0.0 documentation

    Replace values given in to_replace with value. Values of the Series/DataFrame are replaced with other values dynamically. This differs from updating with .loc or .iloc, which require you to specify a …

  4. Replace a License or Permit | NY DMV

    Replace your driver license or permit if it is lost, damaged or stolen, if your address has changed, or if you are turning 21.

  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. How to Replace a String in Python

    The most basic way to replace a string in Python is to use the .replace() string method: As you can see, you can chain .replace() onto any string and provide the method with two arguments. The first is the …

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