Use sed to replace string but avoid replacing when it is a substring
42597
Search and replace strings that are not substrings of other strings
90078
Non greedy (reluctant) regex matching in sed?
116274
Replace arbitrary characters in the middle of an IP address string with sed
11314
Escaping both forward slash and back slash with sed
83244
Addition with 'sed'
157834
How to replace quotation marks in a file with sed?
81147
Replace a long string with the sed command: Argument list too long error
111881
sed - remove the very last occurrence of a string (a comma) in a file?
76938
How to insert a line using sed before a pattern and after a line number?
12642
sed command not giving proper output for regular expression used
151207
How do I substitute only first occurence with sed?
29486
How to use variables in a command in sed?
134655
How to edit next line after pattern using sed?
140924
Unix command sed replace in a variable
14288
Replace a word with multiple lines using sed?
132912
Use sed on a string variable rather than a file
126690
sed search and replace with variable containing slash