If you just want to extract a list of the numbers, you can just clear all of the non-numeric characters:
<cfset variables.idlist = REReplace ( mylist, '[^,\d]+', 'ALL' /> The regex was tested, not the CF syntax. :-) On 3/27/07, Richard Cooper <[EMAIL PROTECTED]> wrote: > > Hi all, > > I'm really not very good with regex, but I need to extract a list of > member numbers. The numbers are contained in a list like this: > > John Smith (mid: 1000), Peter Pan (mid: 87), Harry Harrison (mid: 173), > > How would I go about doing this? > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion MX7 and Flex 2 Build sales & marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273848 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4