Untested:
reReplace(str, "[^(]*\(([^)]*)\)", "\1") 
Assuming there's only one set of brackets and nothing after the brackets.
You could also use listLast() with delimiters: "()"

> -----Original Message-----
> From: Andy Jarrett [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, 20 October 2004 12:04 p.m.
> To: CF-Talk
> Subject: RegEx problem
> 
> Hi there,
> 
> Out of the following string i am trying to return only the 
> value in the brackets user RegEx.
> 
> String = German (Luxembourg)
> 
> Is this possible in one Regex or does it have to be two?
> 
> Cheers
> 
> Andy J
> www.andyjarrett.co.uk
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Protect your mail server with built in anti-virus protection. It's not only good for 
you, it's good for everybody.
http://www.houseoffusion.com/banners/view.cfm?bannerid=39

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