I have a plain text journal I'm trying to format in php. I'd like to split each entry into an array containing date and text.
Using preg_split I can do this, however it removes the date altogether!
The txt file looks something like this:
2012-01-28
text text text
2012-01-14
some other text
2011-12-07
a previous entry
etc.