Find all files in the home directory with a .txt extension and execute the sed command to replace the string "abc" with "a_bc" in each file.
find ~/ -name '*.txt' -exec sed -i -E 's/(a)b(c)/\1_\2/' {} \;