if (my ($ip) = $line =~ /\[(\d+\.\d+\.\d+\.\d+)\].*Relay access denie +d/) { print "$ip\n"; }
In reply to Re^2: Regex substitute matches second match first?
by Marshall
in thread Regex substitute matches second match first?
by Linicks
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |