Best to learn how to do it. :) http://www.google.com/search?q=%2Bcoldfusion+%22regular+expressions%22
-----Original Message----- From: Gary Hotko [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2003 12:59 PM To: CF-Talk Subject: Reg Expression I got the isAlphabet function from cflib.org & I was wondering how could I modify it to allow (1) Parenthisis; (2) Semicolon; (3) Commas; (4) New lines... (For Textareas); (5) excelamation point, Question Mark, Dash/Hyphen [-], Ampresand [&], quotation marks; (6) Dollar Sign. The regular expression that it is currently using is: reFindNoCase("[^a-z\.[:space:]]",str) <cfscript> /** * This UDF confirms whether a string contains only letters. * * @param str String to check. (Required) * @return Returns a boolean. * @author Takaki Saito ([EMAIL PROTECTED]) * @version 1, June 21, 2002 */ function IsAlphabet(str) { return not reFindNoCase("[^a-z\.[:space:]]",str); } </cfscript> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

