works for the case you said, or if you require to match against "Total request":my @out = /,(\d+)/g;
my @out = grep { defined } /(?:Total requests:|,(\d+))/g;
In reply to Re: regex help
by oha
in thread regex help
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |