I am trying to delete this string
;document.write('<iframe src="http://google.com" scrolling="auto" frameborder="no" align="center" height="11" width="11"></iframe>');
across all files within a directory (sub directories included).
I know I have to escape characters or use regex. However I am awful with regex. Any insight appreciated.
You don’t need to use regex if you want to delete a fixed string. You can put it in a sed command as is, but choose a separator other than any characters in the string (I use
#here):