Top "Replace" questions

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

Replace a string in a file with nodejs

I use the md5 grunt task to generate MD5 filenames. Now I want to rename the sources in the HTML …

javascript node.js replace gruntjs
Notepad++ - How can I replace blank lines

I have a text file with a thousand lines of numbers like so: 402 115 90 ... As you can see there is a …

replace notepad++ blank-line
How to replace multiple strings in a file using PowerShell

I am writing a script for customising a configuration file. I want to replace multiple instances of strings within this …

powershell replace
How to search for occurrences of more than one space between words in a line

How to search for occurrences of more than one space between words in a line 1. this is a line containing 2 …

regex eclipse replace
Using tr to replace newline with space

Have output from sed: http://sitename.com/galleries/83450 72-profile Those two strings should be merged into one and separated with …

replace newline space git-bash tr
Replace substring with another substring C++

How could I replace a substring in a string with another substring in C++, what functions could I use? eg: …

c++ string replace substring
Replace invalid values with None in Pandas DataFrame

Is there any method to replace values with None in Pandas in Python? You can use df.replace('pre', 'post') …

python pandas dataframe replace nan
How can I replace a regex substring match in Javascript?

var str = 'asd-0.testing'; var regex = /asd-(\d)\.\w+/; str.replace(regex, 1); That replaces the entire string str with 1. I …

javascript regex replace substring
C# string replace

I want to replace "," with a ; in my string. For example: Change "Text","Text","Text", to this: "Text;Text;Text", …

c# string replace str-replace
Replace all non Alpha Numeric characters, New Lines, and multiple White Space with one Space

I'm looking for a neat RegEx solution to replace All non Alpha-Numeric Characters All NewLines All multiple instances of white …

javascript regex replace alphanumeric