About 1,090,000 results
Open links in new tab
  1. Replace multiple characters in one replace call - Stack Overflow

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

  2. How do I replace all occurrences of a string? - Stack Overflow

    When replacing all occurrences of aba in ababa with ca, which result do you expect? caba? abca? cca?

  3. How can I replace every occurrence of a String in a file with ...

    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?

  4. How to replace multiple substrings of a string? - Stack Overflow

    After some benchmarking on using replace several times vs regex replacement on a string of increasing length by power of 2 with 100 replacements added, it seems that on my computer …

  5. Pyspark replace strings in Spark dataframe column

    The function withColumn is called to add (or replace, if the name exists) a column to the data frame. The function regexp_replace will generate a new column by replacing all substrings that …

  6. Replace multiple substrings in a Pandas series with a value

    Add the keyword argument regex=True to Series.replace() (not Series.str.replace) This does two things actually: It changes your replacement to regex replacement, which is much more …

  7. How to replace specific values in a oracle database column?

    I looked at the search results and found ones that use replace to get values from a dual table. I am looking to update the table as opposed to get values.

  8. Replacing blank values (white space) with NaN in pandas

    I want to find all values in a Pandas dataframe that contain whitespace (any arbitrary amount) and replace those values with NaNs. Any ideas how this can be improved? Basically I want to turn …

  9. How to search and replace text in a file - Stack Overflow

    As pointed out by michaelb958, you cannot replace in place with data of a different length because this will put the rest of the sections out of place. I disagree with the other posters …

  10. How can you find and replace text in a file using the Windows …

    Replace - Replace a substring using string substitution Description: To replace a substring with another string use the string substitution feature. The example shown here replaces all …