Find all files (-type f) modified within the last day (-mtime -1) and execute the command "sed -i 's/oldstring/newstring/g' {} +" on each of them.
find / -type f -mtime -1 -exec sed -i 's/oldstring/newstring/g' {} +