I am using find /path -type f -exec sed -i 's/oldstr/newstr/g' {} \;
(Source: Stackoverflow). This is working fine. But, I want to replace string with spaces and special characters.
Old string -> where acc_id = ".$_SESSION['acc_id']);
New string -> ");
I don't want to use regex. I have exact string. Is there any way to do it with above find and sed command or anything else?