this regex seems to work for me:
^[_a-z0-9-]+(\.[_a-z0-9-]+)[EMAIL
PROTECTED](\.[a-z0-9-]+)*\.(([a-z]{2,3})|(aero|coop|info|museum|name|travel|asia|mobi))$
NOTE: make sure you LCase the var that holds the email address first...
Anyone can see anything terribly wrong with this one? I am way too far
from regex guru to know myself...
Is an email like [EMAIL PROTECTED] a valid one (4 parts in the
domain part)? 'cos that one fails on the above regex...
Also, technically, are [EMAIL PROTECTED] and [EMAIL PROTECTED] considered the
same address or not? Will any mail server allow one to have both
[EMAIL PROTECTED] and [EMAIL PROTECTED] on the same domain?
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
Les Mizzell wrote:
> Azadi Saryev wrote:
>
>> or .travel for that matter
>>
>
> It let "[EMAIL PROTECTED]@somewhere.com.rpost.org through though...
>
> The main problem is - I need something that MATCHES what the CFMAIL tag
> will refuse/accept.
>
> Seems plain wrong that isValid("email", request.email) and the CFMAIL
> tag don't match each other.
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307576
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4