How to serach for Values grater tan 4 digits in a file using Awk Command

Dear All

iam looking for a help in how to search for values grreater than 4 numbers.

I run the below commad but its still not working

awk '{ print $2 " " $5 }' AllRecords | grep "+008" | grep "length" > 4

Can any one help me.

Regards

Kadir

with the code below you can find all lines containing 4 and more adjacent digits:

awk --posix '/[[:digit:]]{4,}/'

or did you mean something different?