Couple tid bits of info will help.
Is the file in a defined format?
Are the emails just random within the text?

If random you'll want to use preg_match_all

You'll have to develop the exact expression to find the emails address.

If the file is formatted just figure out the pattern and grab partials 
to get what you want


afan wrote:

> Hi all,
> there is my problem: I have a large text file with a lot of email addresses included 
>in text. I have to extract just email addresses from a whole text. 
> What's the way to do that?
> 
> Thanks for any help!
> 
> Afan


-- 

Michael Kelley                  
[EMAIL PROTECTED] 
        
Programmer/Systems Analyst I    
New Mexico State University
Information and Communication Technologies
Work # (505)-646-1374
P.O. Box 30001
MSC: 3AT
Las Cruces, NM 88003






-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to