my $ip = "64.156.215.240"; while ($ip =~ m/(\d+)/g) { printf "found '$1' ending at location %d\n", pos($ip); } ----------------------------------------------------------------------------- Copyright 1997-2024 Jeffrey Friedl