How can I combine the Position and Cases functions in Mathematica? For example I have a data set and it is split into different chunks by text lines. So I used the cases function to output the lines that do not have numbers in them:
Cases[rawdata[[All, 2]], Except[_Real]]
I now want to find the position of these lines in my data set using position function like so:
Position[rawdata, Cases[rawdata[[All, 2]], Except[_Real]]]
yet this does not work. Any suggestions??