Hi Claude - I tried the implementation you suggested, the second half worked fine all</ul> are replaced by </ul></p> but absolutely nothing happened the top half the opening <p>blah blah</p> <ul>sdfsd remains the same.
Am I doing something wrong? Please see the code below <cfset formatText= rePlace(rawText, "</p>[[:space:]]<ul>", "#chr(13)##chr(10)#<ul>","ALL")> <cfset formatText= rePlace(formatText, "</ul>", "</ul>#chr(13)##chr(10)#</p>","ALL")> >1º replace all occurences of </p>[[:space:]]<ul> by #chr(13)##chr(10)#<ul> >2º replace all </ul> with </ul>#chr(13)##chr(10)#</p> > >You don't even need regexp for 2º > >Now, if you have UL blocs with no preceding <P>, or multi-level <UL>s, >then it's another story. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| CF 8 â Scorpio beta now available, easily build great internet experiences â Try it now on Labs http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284275 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

