However, when using REReplace your forgetting the 'scope' attribute which lets you specify how many matches to replace. By specifying "All" you get them all.
<cfset NumbersOnly = ReReplace("Image12334blue1","[^\d]","","All")> This replaces everything that is not a Digit - Regex in this case is defining digits using \d. And using ^ for NOT. Thus [^\d] means not digits. I'm replacing non-digits with emtry string and setting the scope to ALL matches. Wil Genovese Sr. Web Application Developer ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:315026 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4