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 For checking 1 email id
Expression
^\s*(([\w-]+\.)+[\w-]+|([a-zA-Z]{1}|[\w-]{2,}))@(\w+\.)+[A-Za-z]{2,5}$
Description
Created by me.It works in almost all the normal cases.
Matches
Non-Matches
[email protected], efgtre@wtg., [email protected], [email protected], [email protected], spaces not at the beginning
Author Rating: Not yet rated. AJ
Title Test Details For checking 1 or more email ids
Expression
"^\s*((([\w-]+\.)+[\w-]+|([a-zA-Z]{1}|[\w-]{2,}))@(\w+\.)+[A-Za-z]{2,5}[?= ]?[?=,;]?[?= ]?)+?$"
Description
Created by me.Allows for checking 1 mail id or more.If more than 1 it should be separated by a , or ; and or space.
Matches
Non-Matches
Author Rating: Not yet rated. AJ
   Displaying page 1 of 1 pages; Items 1 to 2

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