# selecting elements from a list with two numbers [duplicate]

I have a list with numerical and non numerical elements:

l1={{1,1},{2,2},{a,a},{,b},{c,};

what is an efficient rule to select the elements where both components are numerical? so I should be able to obtain l2={{1,1},{2,2}}. thanks

• 35101 – Kuba Jan 20 '17 at 11:13
• indeed, as written in that post: 'Select[l1,AllTrue@NumericQ]' does the trick. – Luigi Jan 20 '17 at 12:28