yeah, I tried that one, I'm using this as my string:

<p>Para1</p><p>Para2</p><p>Para3</p>

and i get;

array
1       [empty string]
2       <p>Para2</p>

when i dump the results - using ReSplit(mystring,'<p>.*?</p>')

On 11/29/05, Ben Doom <[EMAIL PROTECTED]> wrote:
> If you are using CFMX, you can (probably) use
> <p>.*?</p>
>
> If you are using 5 or older, it's going to be a lot tougher.
> Let us know if that doesn't work.
>
> --Ben
>
> John Beynon wrote:
> > I'm trying to split up html paragraph <p></p><p></p> tags into items
> > in an array with their contents in between the p's, I found ReSplit on
> > cflib.org which will do one part but it's the regex that's beating me,
> > I've tried <p>.*</p> which i thought it would be but no joy,
> >
> > any ideas,
> >
> > thanks,
> >
> > john.
> >
> >
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225536
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to