RegExLib.com - The first Regular Expression Library on the Web!
Home
Search
Regex Tester
Browse Expressions
Add Regex
Login
Please support RegExLib Sponsors
Subscribe
Recent Expressions
Site Links
Regex Cheat Sheet
Search
Regex Tester
Browse Expressions
Add Regex
Manage My Expressions
Contributors
Regex Resources
Web Services
Advertise
Contact Us
Register
Recent Expressions
Recent Comments
Community
Regex Forums
Regex Blogs
Regex Mailing List
Top Contributors
Michael Ash (55)
Steven Smith (42)
Matthew Harris (35)
tedcambron (29)
PJWhitfield (28)
Vassilis Petroulias (26)
Matt Brooke (22)
Juraj Hajdúch (SK) (21)
Mukundh (21)
RobertKaw (19)
All Contributors
Advertise with us
Sponsors
Expressions by User
Displaying page
1
of
1
pages; Items
1
to
1
Title
Test
Details
Powerful email address validator with support for multiple subdomains and IP Addresses. (RFC 5322-5321)
Expression
^([\!#\$%&'\*\+/\=?\^`\{\|\}~a-zA-Z0-9_-]+[\.]?)+[\!#\$%&'\*\+/\=?\^`\{\|\}~a-zA-Z0-9_-]+@{1}((([0-9A-Za-z_-]+)([\.]{1}[0-9A-Za-z_-]+)*\.{1}([A-Za-z]){1,6})|(([0-9]{1,3}[\.]{1}){3}([0-9]{1,3}){1}))$
Description
The following is a powerful regular expression for e-mail address's validation. It was wrote respecting the e-mail addresses' syntax reported in the RFCs and supports both hostnames with multiple sub domains and IP addresses.
Matches
[email protected]
s?a=m^p!l#
[email protected]
[email protected]
Non-Matches
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
Author
Rating:
Salvatore Fresta
Displaying page
1
of
1
pages; Items
1
to
1
Copyright © 2001-2025,
RegexAdvice.com
|
ASP.NET Tutorials