Help for this page

Select Code to Download


  1. or download this
    if ($_ =~ /[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}:[0-9]{1,5}:/
    +) {print MYFILE2 "$_ \n";}
    
  2. or download this
    if ($_ =~ /[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}:[0-9]{1,5}:/
    +) {print MYFILE2 "$_ \n";}
    
  3. or download this
    while <$_> {
       while ([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}:[0-9]{1,5}/g)
    + {
    ...
       $iparraycounter++;
    
    }}
    
  4. or download this
    my $str = "br>94.198.240.132:60988 asdfasdf 174.142.24.201:3128 asdfas
    +dfasdf";
     if (my @matches = $str =~ m{ ([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-
    +9]{1,3}:[0-9]{1,5}) }xmsg) {
       print qq{matched @matches};
       }
    
  5. or download this
    Invalid [] range "0-" in regex; marked by <-- HERE in m/ ([0-9]{1,3}\.
    +[0-9]{1,3}\.[0-9]{1,3}\.[0-<-- HERE 
    +9]{1,3}:[0-9]{1,5}) / at C:\CC\BUY\ptest.pl line 43.
    
  6. or download this
    $str =~ m{ [0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-
    +9]{1,3}:[0-9]{1,5} }xmsg)
    
  7. or download this
    $str =~ m{ /[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-
    +9]{1,3}:[0-9]{1,5}/ }xmsg)