I'm writing a script that processes hex data from a force/torque sensor. Each reading is a row of 25 characters in the following format:
Every once in a while I'll get a bad reading that looks like the following:
Note: These bad readings still have 25 characters similar to the good data.
I want to write something that will separate these rows from the rest of the data. What would be the best way to do this?
Maybe something that finds rows that have non-letter and non-integer characters?
Any help is appreciated! Thanks in advance!