fork download
  1. #!/usr/bin/perl
  2. use warnings;
  3.  
  4. my $tempBlackList = "[11.22.33.44]-30,[55.66.77.88]-30";
  5. while ($tempBlackList =~ /\b((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(?:\.(?2)){3})\b/g) {
  6. print "$1\n";
  7. }
Success #stdin #stdout 0s 5272KB
stdin
Standard input is empty
stdout
11.22.33.44
55.66.77.88