Top "Replace" questions

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

Java String Replace '&' with & but not & to &

I have a large String in which I have & characters used available in following patterns - A&B …

java regex string replace ampersand
How to update an SQLite database with a search and replace query?

My SQL knowledge is very limited, specially about SQLite, although I believe this is will be some sort of generic …

sql sqlite sql-update replace
Search and replace in Vim across all the project files

I'm looking for the best way to do search-and-replace (with confirmation) across all project files in Vim. By "project files" …

vim replace
Can I recover older Oracle pl/sql source code from a package body after i have replaced with newer code

I had created an Oracle PL/SQL package with a header and a body with lots of code. Later, I …

oracle replace package recover
Dynamically replace image source with jQuery

I'm trying to replace the default Yelp star rating image for businesses with one of my own. To do so …

jquery replace image src yelp
regex implementation to replace group with its lowercase version

Is there any implementation of regex that allow to replace group in regex with lowercase version of it?

regex replace lowercase
Simple: How to replace "all between" with php?

$string = "<tag>i dont know what is here</tag>" $string = str_replace("???", "<tag></…

php replace str-replace
How to handle backslash character in PowerShell -replace string operations?

I am using -replace to change a path from source to destination. However I am not sure how to handle …

powershell replace backslash
how to use xargs with sed in search pattern

I need to use the output of a command as a search pattern in sed. I will make an example …

bash sed replace pipeline
Function to extract remaining string after last backslash

I need an Excel function that can extract a string after last \ from a path and if no \ found then …

excel vba replace excel-formula find-replace