About 2,500,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

    158 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 each match. All you need is an …

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

    Apr 28, 2017 · You'll need to complete a few actions and gain 15 reputation points before being able to upvote. Upvoting indicates when questions and answers are useful. What's reputation …

  4. python - Case insensitive replace - Stack Overflow

    May 28, 2009 · What's the easiest way to do a case-insensitive string replacement in Python?

  5. How to find-and-replace in Visual Studio code in just the selection ...

    Jun 3, 2017 · Yes! This is the natural flow - first select text, then open Find & Replace, then select Find in selection, then type term to find and replacement term and finally Replace all.

  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. How can I replace every occurrence of a String in a file with ...

    Jun 17, 2013 · Using PowerShell, I want to replace all exact occurrences of [MYID] in a given file with MyValue. What is the easiest way to do so?

  8. Find and replace strings in vim on multiple lines

    6 To answer this question: :40,50s/foo/bar/g replace foo with bar in these lines between the 40th line and the 50th line (inclusive), when execute this command you can currently in any line. …

  9. command line - String replacement in batch file - Stack Overflow

    We can replace strings in a batch file using the following command set str="jump over the chair" set str=%str:chair=table% These lines work fine and change the string "jump over the chair" to …

  10. How to globally replace a forward slash in a JavaScript string?

    Dec 30, 2010 · How to globally replace a forward slash in a JavaScript string? Asked 14 years, 6 months ago Modified 2 years, 3 months ago Viewed 243k times