Reading and parsing arduino data from the terminal

I suggest you write a short Python program to do what you want. This demo may give you a start.

...R