Yeah, since you are not using "\-" in the [] matching group, it should be
replaced out. If you want to keep the "-", add "\-" to the end of the group:

REReplaceNoCase(acc_number,"[^a-zA-Z[:space:]'0-9_&:,!()/\-]","","ALL")


.......................
Ben Nadel 
www.bennadel.com
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 11, 2006 11:03 AM
To: CF-Talk
Subject: Regex Dash

Is there a remove dash(-) element in this statement? 

REReplaceNoCase(acc_number,"[^a-zA-Z[:space:]'0-9_&:,!()/]","","ALL")


Lee Surma




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240214
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to