Lol might have help had I put what I was using in the email :) 
/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;


Bob


-----Original Message-----
From: Jerry Johnson [mailto:[email protected]] 
Sent: Friday, August 14, 2009 11:51 AM
To: cf-newbie
Subject: Re: RegEx


Here is the one i've used

REFindNoCase("^['_a-z0-9-]+(\.['_a-z0-9-]+)*...@[a-z0-9-]+(\.[a-z0-9-]+)*\.
(([a-z]{2,3})|(aero|coop|info|museum|name))$",str)



On Fri, Aug 14, 2009 at 11:40 AM, Imperial, Robert
<[email protected]
> wrote:

>
> Hi folks,
>
>
>
> I'm trying to validate emails, yes I know it's old hat for most of you
> but still working on it here. I have the following I am using in a js
> for basic validation and it works fine but I need to check to make
sure
> that the email also ends with ".edu" and no clue how to add this. I've
> just started reading material for beginners on Regular Expressions but
> I'm still in need of lots help here. Any out there well versed in
RegEx
> that can lend a hand here please?
>
>
>
> TIA
>
>
>
> Bob
>
>
>
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:4701
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15

Reply via email to