Top "Replace" questions

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

phpstorm replace array() notation to [ ] short syntax

I would like to transform all "array(...)" notation in "[...]" in my project but I don't find a regex that work …

regex replace phpstorm
Atom Editor: RegEx replace to uppercase/lowercase

I'm trying to replace some characters in a string with their uppercase/lowercase equivalents in Atom Editor. Let’s say …

regex replace atom-editor
Swift - Replace Character in String

I have variable which contents the symbol or character I don't know how you say on this "\" in english... How …

variables replace character swift symbols
MySQL, IFNULL(), COALESCE() on String not replacing

My statement should replace every empty title_column with 'no name', but it doesn't: SELECT COALESCE(main_table.title_column, …

mysql sql replace coalesce ifnull
Remove certain characters from string

I want to create a program that gives the number of characters, words, etc... in a user-inputted string. To get …

java string replace character replaceall
How can I replace certain carriage return line feed followed by a dash with a <br/>?

How can I replace the sequence ASCII 13 ASCII 10 - (CR LF DASH or /r/n-) in the text inside a …

javascript jquery replace html-table linefeed
R: replace NA with item from vector

I am trying to replace some missing values in my data with the average values from a similar group. My …

r replace missing-data imputation
Is str.replace(..).replace(..) ad nauseam a standard idiom in Python?

For instance, say I wanted a function to escape a string for use in HTML (as in Django's escape filter): …

python performance replace idioms
Nano insert newline in search and replace

Basically, I need to doublespace a part of text. I know I can do it with: sed G but it …

regex search replace nano
floating-point operations with bash

how can I transform the string "620/100" into "6.2" in a bash script The context of my question is about image processing. …

string bash replace exif operation