This will process any line that has 12 alphanumeric characters and print the first field:
awk '/[[:alnum:]]{12}/ {print $1}' file
This will process any line that has 12 alphanumeric characters and print the first field:
awk '/[[:alnum:]]{12}/ {print $1}' file