# Regexp::Common::Email::Address - perldoc - [phpMan]

## NAME
    [Regexp::Common::Email::Address](https://www.chedong.com/phpMan.php/perldoc/Regexp%3A%3ACommon%3A%3AEmail%3A%3AAddress/markdown) - Returns a pattern for Email Addresses

## SYNOPSIS
      use [Regexp::Common](https://www.chedong.com/phpMan.php/perldoc/Regexp%3A%3ACommon/markdown) qw[[Email::Address](https://www.chedong.com/phpMan.php/perldoc/Email%3A%3AAddress/markdown)];
      use [Email::Address](https://www.chedong.com/phpMan.php/perldoc/Email%3A%3AAddress/markdown);

      while (<>) {
          my (@found) = /($RE{Email}{Address})/g;
          my (@addrs) = map $_->address,
                            [Email::Address](https://www.chedong.com/phpMan.php/perldoc/Email%3A%3AAddress/markdown)->parse("@found");
          print "X-Addresses: ",
                join(", ", @addrs),
                "\n";
      }

## DESCRIPTION
  "$RE{Email}{Address}"
    Provides a regex to match email addresses as defined by RFC 2822. Under "{-keep}", the entire
    match is kept as $1. If you want to parse that further then pass it to
    "[Email::Address](https://www.chedong.com/phpMan.php/perldoc/Email%3A%3AAddress/markdown)->parse()". Don't worry, it's fast.

## SEE ALSO
    [Email::Address](https://www.chedong.com/phpMan.php/perldoc/Email%3A%3AAddress/markdown), [Regexp::Common](https://www.chedong.com/phpMan.php/perldoc/Regexp%3A%3ACommon/markdown), perl.

## AUTHOR
    Casey West, <<casey@geeknest.com>>.

## COPYRIGHT
      Copyright (c) 2005 Casey West.  All rights reserved.
      This module is free software; you can redistribute it and/or modify it
      under the same terms as Perl itself.

