I am trying to replace
Code:
(<a href="http://www.google.com" target="_blank">Google</a>)
to
with sed. I did the following and it did not work for some reason -
Code:
find /home/tst -type f -exec sed -i "s#(<a href="http://www.google.com" target="_blank">Google</a>)#Google#g" {} \;
any idea where I went wrong?
Sorry I figured it out. Mods can delete the thread.
Code:
find /home/tst -type f -exec sed -i 's#(<a href="http://www.google.com" target="_blank">Google</a>)##g' {} \;