You also might want to use Regexp::Common and $RE{net}{IPv4} to match an ip number.
Abigail
In reply to Re: Regex to parse netstat output
by Abigail-II
in thread Regex to parse netstat output
by miller
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |