On Wed, 18 Sep 2002, Mike O wrote: > Okay, no wisecracks or stupid jokes on that one though > I'm sure somebody won't be able to help themselves. > > Here's what I'm looking for. Anybody know of a program > that'll go through all the headers in an email and > output all of the email addresses in it to a file or > address book?
use this regular expression /^(([^\-][\w\-]*?\.?){1,})[^-](\@{1})([^\-][\w+\.\-])[^\2]{1,}[^\-]$/ in an awk script ;-) or paste it into your favorite programing language's regex engine. HTH > > __________________________________________________ > Do you Yahoo!? > New DSL Internet Access from SBC & Yahoo! > http://sbc.yahoo.com > _______________________________________________ > Eug-lug mailing list > [EMAIL PROTECTED] > http://mailman.efn.org/cgi-bin/listinfo/eug-lug > -- http://www.efn.org/~laprice ( Community, Cooperation, Consensus http://www.opn.org ( Openness to serendipity, make mistakes http://www.efn.org/~laprice/poems ( but learn from them.(carpe fructus ludi) _______________________________________________ Eug-lug mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug