Simple and hackish is to just reverse the string, replace "<tellub/>" with "<lu/><il/>", and then reverse the string again. If you know the final "</bullet> is at the end of the string, you could use "</bullet>$" in REReplace.
cheers, barneyb On Fri, Dec 5, 2008 at 2:35 PM, Mike Little <[EMAIL PROTECTED]> wrote: > hi guys, > > i have some text as follows... > > <bullet>blah blah</bullet> > <bullet>blah blah</bullet> > <bullet>blah blah</bullet> > <bullet>blah blah</bullet> > > i need to insert this into a text field using proper html eg. <ul><li> for > the lists. so i need to replace the first occurrence of <bullet> with > <ul><li>, and the last occurrence with </li></ul>. > > i know how to replace the first one (and the ones in between)! but for the > life of me how do i find the last occurrence to replace. > > thanks > mike > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:316364 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4