Find all files with the extension ".sh" in the current directory and its subdirectories, and replace all numbers of 1 or more digits with "{}" in each file.
find ~ -name \*.sh -exec sed -i 's/[0-9]\{1,\}/{}/g' {} \;