Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl 
    use strict;
    use warnings;
    ...
    my @matches = $initialStr =~ /\[\d+ \d{2}:\d{2}:\d{2}\]\s+(.+)\n/g;
    
    print Dumper \@matches;
    
  2. or download this
    my @matches = ( $initialStr =~ /\d+:\d+:\d+/ );