find . -type f -exec sed -i 's/STRING GOES HERE/REPLACEMENT HERE/g' {} +
Make sure to escape brackets (\[\]
):
find . -type f -exec sed -i 's|Click \[here\](/here/)!|Click HERE!|g' {} +
find . -type f -exec sed -i 's/STRING GOES HERE/REPLACEMENT HERE/g' {} +
Make sure to escape brackets (\[\]
):
find . -type f -exec sed -i 's|Click \[here\](/here/)!|Click HERE!|g' {} +