[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
Neil Williams wrote: > > Perl. Or Google and find..... cat test.txt | tr -d '\n' | grep -o "[[:alnum:][:graph:]]*@[[:alnum:][:graph:]]*" Of course this assumes that "\n" isn't ever used to separate email addresses, and the match for email addresses is rather broader than the original poster mentioned, but otherwise Ben will complain that "'" is a valid character for his email address. Simon
Attachment:
signature.asc
Description: OpenPGP digital signature
-- The Mailing List for the Devon & Cornwall LUG http://mailman.dclug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html