Find the first line in file.txt that contains a string of 3 to 10 alphanumeric characters followed by two uppercase letters, and convert it to lowercase.
grep -e '\b[a-zA-Z0-9]\{3-10\}[A-Z]\{2\}' file.txt | tr "[:upper:]" "[:lower:]" | head -n 1