I am using PHP to parse an email message into different 'sections'
basically the structure of the email is set up like this
title
source, location
body (can be anywhere from 1 line to 3 lines, changes with each title)
hyperlink
and for each email, there can be anywhere between 1 - 20 structures set up like this...each structure would be seperated by a blank line.
So basically, I need to setup a regex (i think anyway) to put each section of the structure into a variable.....and since i may have multiple structures, then i will have to keep the stucture parts together (i assume using an array)
any help with this would be greatly appreciated.