Darn it Claude, you beat me to it. ;) Well, I'll add that you don't need
to escape the period and dollar sign because they are in a character
class:
<cfset myStr2 = ReREplace(myStr,"[.$,]+","","all")>

> -----Original Message-----
> From: Claude Schneegans [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, March 07, 2006 4:40 PM
> To: CF-Talk
> Subject: Re: How do I write a Regex for this?
> 
>  >>How would I write that in a Regex?
> 
> Try this:
> 
> REReplace (myString, "[\.\$,]+", "", "all")
> 
> -- 
> _______________________________________
> REUSE CODE! Use custom tags;
> See http://www.contentbox.com/claude/customtags/tagstore.cfm
> (Please send any spam to this address: [EMAIL PROTECTED])
> Thanks.
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234553
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

Reply via email to