Let's say I have a file, foo.txt with certain contents:
abcds9912: 8c b2 1e12
asddb221 jj 7u 9i e2e1
Now I want to grep
only 8c, b2, jj, 7u, 9i
i.e characters coming in pairs
So far I have tried
cat foo.txt | grep -Eo '[a-z0-9]{2}'
but it didn't work