I have a row in my database that represents notes for the user. I want to break this line so that I can split each note into content, user and date.
Here is the line format:
"Example Note <i>Josh Test 12:53 PM on 8/14/12</i><br><br> Another example note <i>John Doe 12:00 PM on 9/15/12</i><br><br> Last Example Note <i>Joe Smoe 1:00 AM on 10/12/12</i><br><br>"
I need to break this into an array
["Example Note", "Josh Test", "12:53 8/14/12", "Another example note", "John Doe", "12:00 PM 9/15/12", "Last Example Note", "Joe Smoe", "1:00 AM 10/12/12"]
I am still experimenting with this. Any ideas are very welcome, thanks! :)
source share