In the example list belowe how should I construct the pattern matching to remove any item where position 4 is greater than 20000?
listX = {{m,b,24,14000},{f,b,29,14000},{m,w,72,67000},{m,b,45,84000},{m,w,67,17000},{f,w,54,4000}};
I thought it would be something like DeleteCases[listX,{_,_,_,x_>20000}] but that doesn't work. Does pattern matching only work on exact matches only?
Thanks for your help - greatly appreciated!