I have some scripts in some folder. like /var/www/sites
Now i want to replace all the email address hardcoded in the scripts in all folders and subfolders and replace with my email address
how can i do that.
I can find using
grep -rn "abc@gmail.com" /var/www/sites/
But i don’t know how to use regex and replace
1 Answer