in reply to Extracting up to a certain string

Here is the data. Its for the news portion of a site, I need to display the top three dates (between 'p' '/p'). I tried the codes from above and they work great! Thanks:)

<code>

-7.31.02 2:17AM
Some News

-7.24.02 12:51PM
Some News

-7.02.02 10:07AM
Some News

-6.12.02 10:26PM
Some News