I assume this is always a number and you want to know if it is not zero.

\b[1-9]\s*$

If it can be alpha as well

\b[1-9a-zA-Z]\s*$

-g

On 11/2/06, Thane Sherrington <[EMAIL PROTECTED]> wrote:
Anyone know a way to use Findstr to parse a line like this:

7
Seek_Error_Rate         0x000b   200   200   051    Pre-fail  Always
      -       0

And tell if the final number is non-zero?

If I use findstr /r "0$" it finds the last number as zero, but I
don't know regex well enough to work out not zero.

T




--
-Gary

Reply via email to