"Give a man a fish and you feed him for a day.
   Teach a man to fish and you feed him for a life time."
  
  -Chinese proverb

This is a beginners list, no? I thought we were here to help people learn,
not provide them with solutions that may work, but they don't know how...

John

-----Original Message-----
From: Jonathan E. Paton [mailto:[EMAIL PROTECTED]]
Sent: 05 February 2002 17:19
To: [EMAIL PROTECTED]
Subject: Re: select text


 --- Roman Fordinal <[EMAIL PROTECTED]> wrote:
> 
>   I need to get the email address from string:
>   
>   $email="Name LastName <[EMAIL PROTECTED]>"
> 
>   How do I extract it?  [Above converted to English -
JEP]

($email = $email ) =~ /\<([^>]+)\>$/;

Jonathan Paton

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--------------------------Confidentiality--------------------------.
This E-mail is confidential.  It should not be read, copied, disclosed or
used by any person other than the intended recipient.  Unauthorised use,
disclosure or copying by whatever medium is strictly prohibited and may be
unlawful.  If you have received this E-mail in error please contact the
sender immediately and delete the E-mail from your system.



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to