Trying to go the long way around this. You got love the fact everything is a list in CF. I used the listLast() with delimiters: "()".
Cheers On Wed, 20 Oct 2004 12:18:11 +1300, Matthew Walker <[EMAIL PROTECTED]> wrote: > 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 > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=37 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:181953 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

