Never done regexs with CF but you usually don't have to list all a-z, you just do [a-z] and I don't think the ^ needs to be inside the brackets because that is not a character unless it's escapted, it indicates to start at the beginning of the line. While this is a stab in the dark, I'd try ^[a-z]
Jake Churchill CF Web Tools [EMAIL PROTECTED] 402-408-3733 x103 -----Original Message----- From: Richard Colman [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 16, 2006 4:37 PM To: CF-Talk Subject: Regular Expression Hell Trying to replace everything that is NOT: abcdefghiklmnpqrstvwyz with a blank (including white space, returns, etc.) Thought this would work, but it does not: <CFSET legalAA_list = "#REREPLACENOCASE(form.AA_list, '[^abcdefghiklmnpqrstvwyz]','','all')#"> Help! Rick Colman ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:250067 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4