Find all files with a .txt extension in the current directory and up to 3 levels of subdirectories, and move them to the parent directory of the parent directory.
find . -maxdepth 3 -type f -name "?*.txt" -exec mv {} ../../ \;