Matching an email address within a string is a hard task, because the
specification defining it, the RFC2822,
is complex making it hard to implement as a regex. For more details why it is
not a good idea to match an email with a regex, please refer to the
antipattern example when not to use a ...