I want to search for a string
and replace it with another string
recursively under a directory.
for example:
I want to search for a string
"var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");"
and replace it with
var _gaq = _gaq || [];_gaq.push(['_setAccount', 'UA-7044592-1']);_gaq.push(['_setDomainName', 'news4u.com']);_gaq.push(['_trackPageview']);
How to achieve it ?