in reply to Split on 2nd Occurence
my $ipaddr = "192.168.8.205"; my ($iprefix, $ipstuff) = $ipaddr =~ m/(\d+\.\d+)\.(\d+\.\d+)/; print $iprefix, " ", $ipstuff, "\n"; [download]
perl -e 's&&rob@cowsnet.com.au&&&split/[@.]/&&s&.com.&_&&&print'