Title |
Test
Find
Email - RFC 2821, 2822 Compliant
|
Expression |
^((([!#$%&'*+\-/=?^_`{|}~\w])|([!#$%&'*+\-/=?^_`{|}~\w][!#$%&'*+\-/=?^_`{|}~\.\w]{0,}[!#$%&'*+\-/=?^_`{|}~\w]))[@]\w+([-.]\w+)*\.\w+([-.]\w+)*)$ |
Description |
According to RFC 2821 (<see cref="http://tools.ietf.org/html/2821"/>)
and RFC 2822 (<see cref="http://tools.ietf.org/html/2822"/>), the local-part
of an email addresses may use any of these ASCII characters:
1. Uppercase and lowercare letters
2. The digits 0 through 9
3. The characters, !#$%&'*+-/=?^_`{|}~
4. The character "." provided that it is not the first or last character in the local-part. |
Matches |
|
Non-Matches |
|
Author |
Rating:
Dave Black
|
Source |
|
Your Rating |
|
Title: Problem with regex
Name: Anonymous123
Date: 4/27/2022 1:33:42 PM
Comment:
It will not detect if they use ip adress as server part.