Top "Replace" questions

Replacing is the action of searching a string for a sub-string and replacing it with a different string.

How to replace comma with a dot in the number (or any replacement)

I could not found a solution yet, for replacing , with a dot. var tt="88,9827"; tt.replace(/,/g, '.') alert(…

javascript regex replace jscript
Replace String in all files in Eclipse

Do you know how can I search an replace a String in all files of my current project? Lets say …

string eclipse replace
Replace non ASCII character from string

I have strings A função, Ãugent in which I need to replace character like ç,ã,Ã with empty strings. How can …

java regex string replace char
How to replace NA values in a table for selected columns

There are a lot of posts about replacing NA values. I am aware that one could replace NAs in the …

r replace dataframe data.table na
Replace CRLF using powershell

Editor's note: Judging by later comments by the OP, the gist of this question is: How can you convert a …

powershell replace newline eol
replace special characters in a string python

I am using urllib to get a string of html from a website and need to put each word in …

python string list replace urllib
Replace Both Double and Single Quotes in Javascript String

I am pulling in some information from a database that contains dimensions with both ' and " to denote feet and …

javascript replace special-characters
JavaScript: replace last occurrence of text in a string

See my code snippet below: var list = ['one', 'two', 'three', 'four']; var str = 'one two, one three, one four, one'; …

javascript string replace
Replace only some groups with Regex

Let's suppose I have the following regex: -(\d+)- and I want to replace, using C#, the Group 1 (\d+) …

c# regex replace
Replace None with NaN in pandas dataframe

I have table x: website 0 http://www.google.com/ 1 http://www.yahoo.com 2 None I want to replace python None …

pandas dataframe replace nan nonetype