> It would indeed appear that CF regexp just falls short. So use Java RegEx.
<cfset NewString = TestString.replaceAll( '([A-D])([A-D])' , '$10$2' ) /> And if you actually do have a 10th group, or want to make it more readable, you can do: <cfset NewString = TestString.replaceAll( '([A-D])([A-D])' , '$1\0$2' ) /> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:317914 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

