Replace any string that matches the pattern of three numbers, a hyphen, three numbers, a hyphen, and four numbers with the string "[random_string]".
sed 's/^[0-9]\{3\}-[0-9]\{3\}-[0-9]\{4\}$/[random_string]/'