ユーザーのメモを表す文字列が DB にあります。この文字列を分割して、各メモを内容、ユーザー、日付に分けたいと考えています。
文字列の形式は次のとおりです。
"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>"
これを配列に分割する必要があります
["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"]
私はまだこれを試しています。どんなアイデアでも大歓迎です!:)