>- see footer for list info -<
Taz, here's a JS one I've used in the past (excuse formatting):

>>>
                
<script type="text/javascript" language="Javascript">
<!--
function myValidate() {
        if (isEmail(document.booking.email.value) == false) {
            alert("Please enter a valid email address.");
        document.booking.email.focus();
        return false;
        }
return true;
}

function isEmail(string) {
        if 
(string.search(/^\w+((-\w+)|(\.\w+))[EMAIL PROTECTED]((\.|-)[A-Za-z0-9]+)*\.
[A-Za-z0-9]+$/) != -1)
        return true;
    else
        return false;
        }
//-->
</script>
>>>


HTH

Terry

----- Original Message -----

> >- see footer for list info -<
> Just to save me a little time,
> 
> What characters are not permitted in an email address? I'm currently 
> covering the following:
> 
> comma, semicolon, space, linebreak, carriage return, tab
> 
> 
> Of course the lazy question is: Does anyone have a good bit of regex?
> Taz
> _______________________________________________
> 
> For details on ALL mailing lists and for joining or leaving lists, go 
> to http://list.cfdeveloper.co.uk/mailman/listinfo
> 
> --
> CFDeveloper Sponsors:-
> >- Hosting provided by www.cfmxhosting.co.uk -<
> >- Forum provided by www.fusetalk.com -<
> >- DHTML Menus provided by www.APYCOM.com -<
> >- Lists hosted by www.Gradwell.com -<
> >- CFdeveloper is run by Russ Michaels, feel free to volunteer your 
> help -<
> 
> 


Terry Riley

_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to