in reply to Re^2: greping for a value
in thread new : greping

hi !
my @arr = /(device\d+)\sis\s.+?\/var\s+(\d+%)/g;
gives the output for /var
device1 38% device2 44%
but it should be
device1 56% device2 56%
i m now checking on that and also trying to take the data from the text file itself.