Find all directories (type d) up to a maximum depth of 3 (maxdepth 3) with any name (name "*") and execute the command to remove them recursively (rm -r).
find . -maxdepth 3 -type d -name "*" -exec rm -r {} \;