You know who you ought to ask about regex stuff is my man Steven Levithan
over at Flagrant Badassery <http://blog.stevenlevithan.com/>. The dude is in
love with regular expressions.

Chris

<http://blog.stevenlevithan.com/>On 7/19/07, Jide Aliu <
[EMAIL PROTECTED]> wrote:
>
> I have a body of text, within that text are random <ul> tags preceded by
> <p>text</p>, example below;
>
> <p>Body of text loads of it, sometimes just a one liner and it ends
> here</p>
>
> <ul>
> <li>blurb of text one</li>
> <li>blurb of text two</li>
> <li>blurb of text three</li>
> </ul>
>
> <p>Another of body text here</p>
>
> <ul>
> <li>New list 1</li>
> <li>New list 2 </li>
> </ul>
>
> What I want to be able to do is wherever i have a preceding body of text
> before set of <ul> tags, the <p> tag must go round the <ul> tags like so;
>
> <p>Body of text loads of it, sometimes just a one liner and it ends here
>
> <ul>
> <li>blurb of text one</li>
> <li>blurb of text two</li>
> <li>blurb of text three</li>
> </ul>
> </p>
>
> <p>Another of body text here</p>
>
> <ul>
> <li>New list 1</li>
> <li>New list 2 </li>
> </ul>
>
> Is this at all possible?
>
> Many thanks.
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284152
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to