Using PERL extract data between two symbols (: and ;) line by line from a log file : I have to extract data between two symbols (: and ;) line by line from a log file. My data is:

    INFO @3035155 mti_lane1_bw_mon: total bytes = 0, at time = 3035155; T=3035155
I'm using this code to extract data after colon(:)

    use strict;
    use warnings;

    my $filename = 'log1';
    my @fields;
    open(FILE, $filename) or die "Could not read from $filename, program halting.";
    while(<FILE>)
    {
    chomp;
    @fields = split(':', $_);

    print "$fields[1]\n";
    }
    close FILE;

Current Output :
 
    total bytes = 0, at time = 3035155; T=3035155
Required Output

    total bytes = 0, at time = 3035155  


