in reply to problem with regex to extract netstat info

/^\s+(.*)\s+(.*):(.*)\s+(.*):(.*)\s+(.*)/

Whenever I see a regex like this I start thinking about split or unpack (if it's more fixed length).

An example with split:
@foo = split /\s+/; ($laddr,$lport) = (split(/:/,$foo[1]),split(/:/,$foo[2]));


grep
Just me, the boy and these two monks, no questions asked.