Hi!

I am trying to setup a single regex to breakdown the following lines:

Jerry   2.7    4      4.5          mon
Mark    -14    -10.75 -10          new

With

      /(\w+)\s+(-?\d+.\d+)\s+(-?\d+.\d+)\s+(-?\d+.\d+)\s+(\w+)/;

What am I doing wrong?

Thanks,

Jerry



Reply via email to