On Thursday 14 June 2007 07:44, you wrote:
>I have a problem with regular expressions and can not solve it.
>I wants to egrep from a big text file all mail addresses.

The first edition of _Mastering Regular Expressions_ by Jeffrey E. F. 
Friedl has a Perl script which generates a 6.5 kB regex which should be 
able to match e-mail addresses reasonably accurately. That Perl script 
is available here: http://examples.oreilly.com/regex/readme.html

Depending on how Perl-compatible egrep's regex parser is, you might have 
to modify the e-mail regex. But perhaps you can use it as a starting 
point.

------------------------------------------------------------------------
Dan Ramaley                            Dial Center 118, Drake University
Network Programmer/Analyst             2407 Carpenter Ave
+1 515 271-4540                        Des Moines IA 50311 USA

Reply via email to