Top "Replace" questions

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

Lua String replace

How would i do this? I got this: name = "^aH^ai" string.gsub(name, "^a", "") which should return "Hi", but …

string replace lua gsub lua-patterns
find and replace end of line with "\n" verbatim

I am hoping to use some text editor to find all the "end of lines" in a document and replace …

replace notepad++ textpad
Notepad++ How do I insert a column of data?

So I am trying to take a column of text data and replace that data with edited information. I am …

replace notepad++ paste
Oracle: Replacing non-numeric chars in a string

I have a field in my database where users have saved free-form telephone numbers. As a result, the data has …

oracle11g replace
Replace Last Occurrence of a character in a string

I am having a string like this "Position, fix, dial" I want to replace the last double quote(") with escape …

java string replace last-occurrence
What flavor of Regex does Visual Studio Code use?

Trying to search-replace in Visual Studio Code, I find that its Regex flavor is different from full Visual Studio. Specifically, …

regex replace visual-studio-code
Sublime text 2 - find and replace globally ( all files and in all directories )

Is there any way to find and replace text string automatically in all folder's files?

replace ide find sublimetext2 global
Replace whole line when match found with sed

I need to replace the whole line with sed if it matches a pattern. For example if the line is …

shell replace sed match
Recursively rename files using find and sed

I want to go through a bunch of directories and rename all files that end in _test.rb to end …

bash scripting sed find replace
Visual Studio, Find and replace, regex

I am trying to replace all the #include "whatever.h" with #include <whatever.h> using find and replace …

regex visual-studio-2005 replace