I have a String as follows
“2012-06-29 Some text 2012-06-30 Some text ..”
I m splitting the above text in php using split(regex of the date), but i need to get that date too. I wanted to get the split string i have used to split the string. I need Split String , the date and the string that following in separate variables to process.
Like
2012-06-29 App Started 2012-06-30 Login Event
How can i get this in php
Somthingl like?
Exemple code