Help for this page

Select Code to Download


  1. or download this
    my $string = "aabbccdd";
    if (my @matches = $string =~ /(aa)..(cc)../)
    ...
        print "@matches\n";
        print "$matches[0] ... $matches[1]\n";
    }