View Single Post
Old 02-24-2005, 06:05 PM  
psili
Confirmed User
 
Join Date: Apr 2003
Location: Loveland, CO
Posts: 5,526
Quote:
Originally Posted by Antonio
Shouldn't you be praying for the Pope right now, they took him to the hospital again?
Apologies.

How about a regular expression as you scan the file. It's ghey, but here's some sudo code;

emails = "";
foreach(line in file)
{
match('/(".*?" \<.*?\>/',line, matched);
emails .= matched[0]."\n";
}

-- granted my regular expression sucks, but the idea is there.
__________________
Your post count means nothing.
psili is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote