Top "Replace" questions

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

DB2/iSeries SQL clean up CR/LF, tabs etc

I need to find and clean up line breaks, carriage returns, tabs and "SUB"-characters in a set of 400k+ …

sql db2 ibm-midrange replace
Find an element by id and replace its contents with php

I want to use PHP to search through the contents of a file for an element with a specific id, …

php html preg-replace replace savechanges
Java : replacing text URL with clickable HTML link

I am trying to do some stuff with replacing String containing some URL to a browser compatible linked URL. My …

java regex url replace grouping
Replace double backslashes with a single backslash in javascript

I have the following problem: I have a script that executes an AJAX request to a server, the server returns …

javascript ajax replace backslash
Adding Line Break After pattern in VIM

I have a css file and I want to add an empty line after every }. How can I do this …

regex vim replace vi substitution
JAVAFX 2.0 How can i dynamically change the content in a scrollPane?

Im making a playlist in a scrollPane, but I want to change the content in the scrollPane when I load …

replace javafx-2 scrollpane
How can I delete all lines that do not begin with certain characters?

I need to figure out a regular expression to delete all lines that do not begin with either "+" or "-". …

regex vim sed text-processing replace
Disable home button in android toddler app?

I've developed and app that is a slide show of pictures which each play a sound when you tap them. …

android replace children android-homebutton
How to remove commas from ALL the column in pandas at once

I have a data frame where all the columns are supposed to be numbers. While reading it, some of them …

python string pandas replace comma
Replace Line Feed with a Space in unix shell script

I have a text file containing some records. Each record is splitted in 4 rows (not always 4), like the example: ---- …

shell unix replace space linefeed