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 the output format is always the same and the email is always at the same position then you can get more precise ...if (/(\S+@\S+)/} { $email = $1; }
-- Hofmator
|
|---|