About 51 results
Open links in new tab
  1. c# replace \" characters - Stack Overflow

    Note that this will replace each backslash and each double-quote character; if you only wanted to replace the pair "backslash followed by double-quote" you'd just use: ... (As mentioned in the …

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

  3. replace '\n' in javascript - Stack Overflow

    The statements are indeed correct and will replace one instance of the character \n. It uses a different algorithm. When giving a String to replace it will look for the first occurrence and simply replace it …

  4. 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 there any difference?

  5. python .replace () regex - Stack Overflow

    It will replace non-everlaping instances of pattern by the text passed as string. If you need to analyze the match to extract information about specific group captures, for instance, you can pass a function to …

  6. JavaScript String replace vs replaceAll - Stack Overflow

    Apr 28, 2021 · ECMAScript 2021 has added a new String function replaceAll. A long time ago in a galaxy not so far away, people used split + join or regular expressions to replace all occurences of a …

  7. How do I replace NA values with zeros in an R dataframe?

    I have a data frame and some columns have NA values. How do I replace these NA values with zeroes?

  8. Replace part of a string with another string - Stack Overflow

    There's a function to find a substring within a string (find), and a function to replace a particular range in a string with another string (replace), so you can combine those to get the effect you want:

  9. How do I replace all line breaks in a string with <br /> elements?

    Learn how to replace all line breaks in a string with <br> elements using JavaScript on Stack Overflow.

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