in reply to Retrieve an email address of sysadmin only knowing the IP address

Very quick and dirty, assuming your output is in $string and an email address is everything not whitespacey around an @:

if (/(\S+@\S+)/} { $email = $1; }
If the output format is always the same and the email is always at the same position then you can get more precise ...

-- Hofmator

  • Comment on Re: Retrieve an email address of sysadmin only knowing the IP address
  • Download Code