Display the size of the files in the home directory in a human-readable format and filter out the results that do not match the pattern of a number followed by M, G, or K.
du -h ~/ | grep "^[0-9\.]\+[MGK]"