try
<CFIF REFind("^[A-Z][a-z]+", VARIABLENAME)>
it's capitalized!
</CFIF>
christopher olive, cto, vp of web development
cresco technologies, inc
410.825.0383
http://www.crescotech.com
-----Original Message-----
From: Douglas Brown [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 16, 2002 1:46 PM
To: CF-Talk
Subject: Regular expression help
I have a field that will be populated with a first name and a last name,
what I want to do is make sure that the first letter of the first & last
name is uppercase and that all others are lower case. Could someone help
in a reg expression that will do this?
There are two major products that come out of Berkeley: LSD and [Unix]
BSD. We don't believe this to be a coincidence.
Doug Brown
______________________________________________________________________
Why Share?
Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
Instant Activation � $99/Month � Free Setup
http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
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