in reply to Re: Regex help!
in thread Regex help!

Thanks a ton Rolf! although, do you know if your code works for this input?

'Disk - HD 600GB 15K'

I used the regex you provided, and it seems for this the output is all 0s - unless I am doing something wrong

Replies are listed 'Best First'.
Re^3: Regex help!
by LanX (Saint) on Jun 08, 2013 at 03:03 UTC
    > unless I am doing something wrong

    you are doing something wrong!

    Cheers Rolf

    ( addicted to the Perl Programming Language)

      I was doing a lot of things wrong - thanks guys (Rolf particularly for the quick response) - I need to read up perl regular expressions more as I clearly suck at it
Re^3: Regex help!
by Anonymous Monk on Jun 08, 2013 at 01:45 UTC

    I used the regex you provided, and it seems for this the output is all 0s - unless I am doing something wrong

    But you don't show what you're doing