REReplace(strInput, "(\([0-9]+\))$", "", "ONE")

Not tested.... removes ONE instance of the string ([:digit:]) that ENDS the
string

.......................
Ben Nadel 
Web Developer
Nylon Technology
6 West 14th Street
New York, NY 10011
212.691.1134
212.691.3477 fax
www.nylontechnology.com

"Vote for Pedro"

-----Original Message-----
From: J W [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 07, 2005 10:13 AM
To: CF-Talk
Subject: Regex problem.

I have a regex brain teaser.. Well at least its teasing my brain.

How do I lop off the end of a string up to and including the first (

for example:
blah blah blah blah (2) (12345678) would become
blah blah blah blah (2)

Thanks!
Jeff




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:226440
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