Guest User

Untitled

a guest
Dec 13th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 0.16 KB | None | 0 0
  1. #!/usr/bin/perl
  2.  
  3. use strict;
  4. use warnings;
  5.  
  6. while(<>) {
  7.   chomp;
  8.   my @words = /([\w\-]+\.)*[\w\-]+\@([\w\-]+\.)*[\w\-]+/g or ();
  9.   print @words;
  10. }
Add Comment
Please, Sign In to add comment