Why not just use CSS to style ul (space it with margins or whatever)? -----Original Message----- From: Jochem van Dieten [mailto:[EMAIL PROTECTED] Sent: Thursday, July 19, 2007 6:40 AM To: CF-Talk Subject: Re: Manipulating bullet list <ul> tag using Regex or something else
Jide Aliu wrote: > > Is it possible to wrap a <p> tag round bullet list like the examplme below, amongst a massive chunk of data, basically wherever the function or regex finds an opening and closed <ul> tag it wraps an opening and closing <p> tag rounds it: You don't even need a regex for that, just use two regular replace operations: ReplaceNocase(ReplaceNocase(text, "</ul>", "</ul><p>", "All", "<ul>", "<p><ul>", "All") Jochem ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:284077 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4