You need an asterisk after [[:space:]]. Try that on for size.
--Ben Doom Jide Aliu wrote: > 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. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion MX7 and Flex 2 Build sales & marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284276 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

