in reply to Match a Range of IP's
while (<DATA>){ print "$_\n" if m/^192\.168\.[1-9][0-9]?\.\d+$/; } [download]