my @result = map /^COM USAGE .* (\d+)$/, <>; [download]
In reply to Re: Regular Expression by bart in thread Regular Expression by aki7002