Help for this page

Select Code to Download


  1. or download this
    my @data = split;
    s!$data[3]!encrypt($data[3])!eg if ($data[3] ne '-');
    s!=(\d{9,10}|\D\d{8}|\d{4}\-\d{4}|\D\d{4}\-\d{4})!'='.encrypt($1)!eg;
    print OUTPUT $_."\n";
    
  2. or download this
    sub encrypt {
            my $key = shift;
    ...
            $key =~ s|\Q$key\E|\#\#\#$value\#\#\#|g;
            return $key;
    }