Extracting a substring from Line

Hi All

I have a line which is as below

1234567          Gagan Paswani zz23432 1000000000      1000000000      ASTHEYXX-RTUC zz23432

I need to extract the first occurence of zz23432 which will have the reg expression as

[a-z]{2}[0-9]{5}

Could you please assist as to how I can extract this field from the line?

awk '{for (i=1;i<=NF;i++) if ($i ~ /[a-z]{2}[0-9]{5}/) print NR,$i}'|head -1

awk 'match($0, /zz[0-9]+/){print substr($0, RSTART, RLENGTH)}' file

zz23432

try also:

awk '/[a-z]{2}[0-9]{5}/ {print;exit}' RS=" *" infile