Sed
-i modifies file in-place
s is search and replace
to use a delimiter other than /
use \$regex$replace$
where $ is any character
g is to replace all values of regex
sed -i "s/regex/replace/g" file