Wouldn't that replace the "(2)" as well?

-----Original Message-----
From: Ben Doom [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 07, 2005 11:28 AM
To: CF-Talk
Subject: Re: Regex problem.


Good call.  Better than mine.  I don't think you need the parens 
wrapping the literal parens, though.

--Ben

Ben Nadel wrote:
> REReplace(strInput, "(\([0-9]+\))$", "", "ONE")
> 
> Not tested.... removes ONE instance of the string ([:digit:]) that ENDS
the
> string




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

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