Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    my @lines = ("ip:192.168.243.1", "ip:192.168.243.2" =~ /(ip:([0-9]{3}|
    +[0-9]{2}|[0-9]{1})\.([0-9]{3}|[0-9]{2}|[0-9]{1})\.([0-9]{3}|[0-9]{2}|
    +[0-9]{1})\.([0-9]{3}|[0-9]{2}|[0-9]{1}))/);
    
    print "@lines\n";
    
  2. or download this
    ip:192.168.243.1 ip:192.168.243.2 192 168 243 2