Category: >> JavaScript >> Another Good Email Validator Bookmark and Share

<< lastnext >>

Snippet Name: Another Good Email Validator

Description: Easily check to see if an email is "legal".

Also see:
» Validate file extensions in upload...
» Fastest javascript Trim() function
» Test for Prime Numbers
» Validate A URL
» KeyCode Tester
» Instant Test Database with DCBA
» Date Functions: GREATEST
» Online PHP Tester
» Validate credit card numbers
» Password Strength Tester
» Vulnerability Tester
» Test if mySQL table exists
» Test If File Is Included
» Create test data
» Validate email address #3
» Validate email address #2
» Validate email address #1

Comment: (none)

Author: CoderZone
Highlight Mode: JAVASCRIPT
Last Modified: December 01st, 2010

function checkMail(email){
	var filter  = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
	if (filter.test(email)) {
		return true;
	return false;
There haven't been any comments added for this snippet yet. You may add one if you like.  Add a comment 
© | users online: 8