reReplace(myString, "[^A-Za-z]", "", "all")
On Fri, Nov 7, 2008 at 10:44 AM, Chad Gray <[EMAIL PROTECTED]> wrote: > I have a list of file names and I only want the numbers in the file names. > I don't want any alpha characters. > > I can use RE to find the numbers, but it get complicated to find the > starting position of the number and the ending of the numbers then using the > mid function to get the number. > > Is there some magic CF function to take strings like this an strip the > alpha character? > > Image12334blue > Image12323red > > I want just the numbers: > 12334 > 12323 > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314942 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

