ReReplaceNoCase(getContent.title, '[^a-z0-9\-]+', '', 'all') The "\" in front of the "-" is not needed, but it works fine and I like to see it escaped.
Also, I took out the space " " but put it back in if you wanted it. ....................... Ben Nadel www.bennadel.com -----Original Message----- From: Paul Giesenhagen [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 30, 2006 3:26 PM To: CF-Talk Subject: Regular Expression I have the following regular expression: ReReplaceNoCase(getContent.title, '[^a-z0-9 ]', '', 'all') I want it to ALSO keep all the hyphens too... but remove everything else except numbers, alpha and hyphens. What would I change? Thanks Paul Giesenhagen QuillDesign 417-885-1375 http://www.quilldesign.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241754 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54