Help for this page

Select Code to Download


  1. or download this
    $mac2 = $2;
    
  2. or download this
    if ($macs[1] =~ /(\S{17})\|(\S{17})/) {
                    print "$macs[0] MAC1: $1\n";
                    print "$macs[0] MAC2: $2\n";
    ...
                    $mac2 =~ s/:/-/g;  
                    print "Converted Mac1: $mac1 Mac2: $mac2\n";
                }
    
  3. or download this
    $mac1 =~ s/:/-/g;