Replace x, but not x[a]
60090
Pattern to match L, but not L[_]
54364
How do I create a vertical version of \not?
69240
Replace and Association
101459
Command substitution: splitting on newline but not space
101879
How do I replace a variable in a polynomial?
28187
How to replace the first occurence in an expression instead of replacing all?
65270
How do I perform string matching and replacements?
80152
substitution rules excluding subscripted variables
116065
Ignore parts of an equation with multiple variable in Mathematica
96284
Using Part rather than Extract
104087
Replace `et al.` with `\& al.`
84269
Any way to override the and operator in Python?
81923
Replace function not replacing
94553
Reverse a string without using reversed() or [::-1]?
15921
Using str_replace so that it only acts on the first match?
42597
Search and replace strings that are not substrings of other strings
107294
How to replace multiple substrings of a string?