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 1
Title Test Details Email Validation (Right Way)
Expression
/^[A-Z0-9._-]+@[A-Z0-9.-]+\.[A-Z0-9.-]+$/i
Description
Simple, but effective; including .com.mt, .co.uk etc. To include more characters for the email name: ^[A-Z0-9._(ADD HERE)-]+@[A-Z0-9.-]+\.[A-Z0-9.-]+$ remove brackets obviously.
Matches
Non-Matches
test%[email protected], test*#@gmail.com test@test
Author Rating: The rating for this expression. RobertCrog
   Displaying page 1 of 1 pages; Items 1 to 1

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