The action of replacing something with another thing.
I have a string with multiple commas, and the string replace method will only change the first one: var mystring = "…
javascript string replace substitution#!/bin/bash jobname="job_201312161447_0003" jobname_pre=${jobname:0:16} jobname_post=${jobname:17} This bash script gives me Bad substitution error on Ubuntu. …
string bash ubuntu substitutionI have this string: mystring = 'Here is some text I wrote ' How can I substitute the double, triple (...) whitespace …
python substitution removing-whitespaceI'm trying to remove all newline characters from a string. I've read up on how to do it, but it …
python string newline substitutionI am trying to set up a function to reformat a string that will later be concatenated. An example string …
excel excel-formula nested substitution nested-functionI would like to do the following: $find="start (.*) end"; $replace="foo \1 bar"; $var = "start middle end"; $var =~ s/$find/$…
regex perl substitutionSometimes in Python scripts I see lines like: cmd = "%s/%s_tb -cm cond+line+fsm -ucli -do \"%s\"" Where …
python string substitutionI run several substitution commands as the core of a colorize script for maven. One of the sed commands uses …
regex sed substitutionI have a line of code that works fine in my terminal: for i in *.mp4; do echo ffmpeg -i "$…
bash sh substitutionI am trying to change the values in a text file using sed in a Bash script with the line, …
bash sed substitution