Set the locale to C and print only lines that match the pattern of three digits, a hyphen, three digits, a hyphen, and four digits.
env LC_ALL=C sed -n -e '/^\([0-9]\{3\}\)[-][0-9]\{3\}[-][0-9]\{4\}$/p'