RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Expressions by User

   Displaying page 1 of 1 pages; Items 1 to 2
Title Test Details Pattern Title
Expression
^([\w\-\.]+)@((\[([0-9]{1,3}\.){3}[0-9]{1,3}\])|(([\w\-]+\.)+)([a-zA-Z]{2,4}))$
Description
Expression 1 of 2 used to check email address syntax.
Matches
[email protected] | bob.jones@[1.1.1.1] | [email protected]
Non-Matches
Author Rating: The rating for this expression. David Lott
Title Test Details Pattern Title
Expression
^(([-\w \.]+)|(""[-\w \.]+"") )?<([\w\-\.]+)@((\[([0-9]{1,3}\.){3}[0-9]{1,3}\])|(([\w\-]+\.)+)([a-zA-Z]{2,4}))>$
Description
Expression 2 or 2 for matching email address syntax. This one matches the <angle bracket syntax>.
Matches
<[email protected]> | bob A. jones <[email protected]> | bob A. jones <ab@[1.1.1.111]>
Non-Matches
[email protected] | "bob A. jones <[email protected]> | bob A. jones <[email protected]>
Author Rating: The rating for this expression. David Lott
   Displaying page 1 of 1 pages; Items 1 to 2

Copyright © 2001-2024, RegexAdvice.com | ASP.NET Tutorials