About 3,410,000 results
Open links in new tab
  1. How to use string.replace() in python 3.x - Stack Overflow

    Feb 26, 2012 · The string.replace() is deprecated on python 3.x. What is the new way of doing this?

  2. Replace multiple characters in one replace call - Stack Overflow

    Feb 18, 2022 · 157 If you want to replace multiple characters you can call the String.prototype.replace() with the replacement argument being a function that gets called for …

  3. How to replace part of a string using regex - Stack Overflow

    Apr 28, 2017 · 22 You may use a regex that will match the first [....] followed with [ and capture that part into a group (that you will be able to refer to via a backreference), and then match 1+ …

  4. Replacing few values in a pandas dataframe column with another …

    The easiest way is to use the replace method on the column. The arguments are a list of the things you want to replace (here ['ABC', 'AB']) and what you want to replace them with (the …

  5. Prettier ask me to replace ⏎↹↹ with - Stack Overflow

    May 26, 2021 · Prettier ask me to replace ⏎↹↹ with · Asked 4 years, 1 month ago Modified 1 year ago Viewed 65k times

  6. Why do i need to add /g when using string replace in Javascript?

    Jul 30, 2009 · This means that your replace will replace all copies of the matched string with the replacement string you provide. A list of useful modifiers: g - Global replace. Replace all …

  7. python .replace () regex - Stack Overflow

    119 In order to replace text using regular expression use the re.sub function: sub (pattern, repl, string [, count, flags]) It will replace non-everlaping instances of pattern by the text passed as …

  8. sql - SELECT with a Replace () - Stack Overflow

    Oct 20, 2016 · SELECT Replace(Postcode, ' ', '') AS P FROM Contacts WHERE P LIKE 'NW101%' But I get the following error; Msg 207, Level 16, State 1, Line 3 Invalid column …

  9. Find and Replace Only Selected Cells - Microsoft Community

    Jun 23, 2025 · Excel 2016: When attempting to find and replace contents of selected cells, the replace dialog only has the option to replace one single cell or the entire sheet.

  10. Difference between String replace () and replaceAll ()

    May 31, 2012 · What's the difference between java.lang.String 's replace() and replaceAll() methods, other than the latter uses regex? For simple substitutions like, replace . with /, is …