Trevor,

On 1/20/2004 at 10:10, you wrote:

THL> I'm Looking for  Regex to validate that an email has an @ symbol and
THL> that there is no invalid character's

This has worked well for me:

function iswellformedemail(email){
        if(refindnocase("^['_a-z0-9-]+(\.[_a-z0-9-]+)[EMAIL PROTECTED](\.[a-z0-9-]+)*\.([a-z]{2,})$",arguments[1])){
                return true;
        }else{
                return false;
        }
}

~ Ubqtous ~
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to