Your regex should be \d+, which means one or more digits. There is no simple 'get all matches' in CF, but you can use reFindAll from CFLIB:
http://www.cflib.org/udf.cfm/refindall This is how I did it: <cfset matches = reFindAll("\d+", str)> <cfdump var="#matches#"> 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? > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273845 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

