/*


emailUtils.js


Javascript functions which provide useful funcitonality for email, such as validation. 

*/

// use as a boolean function.
function isEmailAddress ( email ) {

    return email.match( /^[a-zA-Z0-9\-_][a-zA-Z0-9_\.\-]+@[a-zA-Z0-9_][a-zA-Z0-9_\.\-]+\..*$/ ); // very loose interpretation, but it will catch the obviously wrong ones.

}



