Find all files in the Documents directory (not including subdirectories) with a .txt extension, and replace all numbers with an 'x' in the file.
find ~/Documents -maxdepth 1 -type f -name "*.txt" -exec sed -i 's/[0-9]/x/g' {} \;