Files on my server have been corrupted. I want to remove a 13000 character string from all PHP files containing it. The string looks like: ?php if(!isset($GLOBALS[\x61\156\x75\156\x61])) { $ua=strtolower($_SERVER[ ... $qhroczocgv=$qjhvvbyvyv; $qhroczocgv=(729-608); $boxknervrr=$qhroczocgv-1; ?>With ellipses inserted for brevity.When I search for the string using grep, I get a grep: Invalid back reference despite escaping \![]$How do I first find all files with the entire string and then how do I remove the text from every file?
Remove long string from files
text processing;sed;grep;find;replace