Most likely guess (since you don't show sample data which you're expecting to match against . . .) it's because you have unquoted regex metacharacters (namely parens) which mean that the LHS of your s/// isn't able to match what you're trying to match. Unfortunately backquoting all of those from a shell prompt is going to get ugly.
Show the text you're trying to change (a before and after will help) and specify what OS you're using (shell quoting on *NIX will differ from CMD or PowerShell) and you might be able to get a more specific answer.
The cake is a lie.
The cake is a lie.
The cake is a lie.
In reply to Re: replace string from Command Line
by Fletch
in thread replace string from Command Line
by pragovnj
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |