skip to main
|
skip to sidebar
Knit(1); PERL; PERL;
Friday, May 25, 2007
email address scraper
Cool little one-liner to get all the email addresses out of a text file. This is great for scraping HTML pages and creating mailing lists.
perl -wne'while(/[\w\.]+@[\w\.]+\w+/g){print "$&\n"}' test.txt
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Blog Archive
▼
2007
(4)
▼
May
(2)
PERL spammer
email address scraper
►
April
(1)
►
February
(1)
AdSense
No comments:
Post a Comment