New answers tagged replace
0
votes
Replace text between brackets
Here is an unusual method that avoids long and cryptic regex expressions altogether - using basic tr and sed commands.
Let's say we want to change "this" to "THIS" and "that&...
Top 50 recent answers are included
Related Tags
replace × 449sed × 231
text-processing × 96
awk × 68
regular-expression × 59
search × 56
bash × 52
find × 38
string × 38
shell-script × 33
linux × 29
files × 20
shell × 19
grep × 19
vim × 17
perl × 13
text × 12
command-line × 11
xml × 11
scripting × 9
csv × 9
text-formatting × 7
rename × 6
tr × 6
variable × 5