IsEmail() takes those into account:
http://cflib.org/udf.cfm?ID=216

Jamie

On Tue, 9 Jul 2002 15:57:01 -0400, in cf-talk you wrote:

>The true answer is no. The reason is that different people write their valuators 
>based on different criteria. For example:
>\.[a-z]{2,4}$ - means that the string has to end with a period followed by a 
>combination of characters that must have a length of 2-4. This gets .uk and .info 
>with no problem as they're official domains. On the other hand, someone said that 
>.museum is now a legal domain and that means that the code has to be {2,6} now. 
>I'd say take a few of the best ones, look at them to decide why they were done 
>differently and then roll your own. 
>Oh, a side question. Do you want to do pre-sending validation or post?
>
>
>> There are a lot of different examples of regular expressions that validate an 
>e-mail address.  Does anyone have a true e-mail validation regex, meaning that it 
>really parallels the criteria of a valid e-mail?
>> 
>> TIA
>> 
>> ---------------------------------------
>> 
>>   Ben Morris
>> 
>>   Web Site Developer
>>   American Federation of Government Employees, AFL-CIO
>>   (202) 639-6448
>>   www.afge.org
>> 
>> 
>> 
>
______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to