Top "Replace" questions

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

How do I find and replace all occurrences (in all files) in Visual Studio Code?

I can't figure out how to find and replace all occurrences of a word in different files using Visual Studio …

replace visual-studio-code
Conditional Replace Pandas

I have a DataFrame, and I want to replace the values in a particular column that exceed a value with …

python pandas replace conditional-statements series
Difference between String replace() and replaceAll()

What's the difference between java.lang.String 's replace() and replaceAll() methods, other than later uses regex? For simple substitutions …

java string replace
How to replace text in a column of a Pandas dataframe?

I have a column in my dataframe like this: range "(2,30)" "(50,290)" "(400,1000)" ... and I want to replace the , comma with - dash. …

python replace pandas dataframe
How can I perform a str_replace in JavaScript, replacing text in JavaScript?

I want to use str_replace or its similar alternative to replace some text in JavaScript. var text = "this is …

javascript replace str-replace
postgresql - replace all instances of a string within text field

In postgresql, how do I replace all instances of a string within a database column? Say I want to replace …

postgresql replace
MySQL search and replace some text in a field

What MySQL query will do a text search and replace in one particular field in a table? I.e. search …

mysql sql search replace
Replace spaces with dashes and make all letters lower-case

I need to reformat a string using jQuery or vanilla JavaScript Let’s say we have "Sonic Free Games". I …

javascript string replace
c# replace \" characters

I am sent an XML string that I'm trying to parse via an XmlReader and I'm trying to strip out …

c# replace special-characters
How do I perform a Perl substitution on a string while keeping the original?

In Perl, what is a good way to perform a replacement on a string using a regular expression and store …

regex perl replace