Please write a javascript function that parses a text like this:

"Mib maglia rosa; pushes Moncler after results
06:12am
AN
Spain's Endesa faces $1.8-billion claims in LNG contract disputes
02:02am
RE
ENEL  :  RBC reiterates its Buy rating
01:25am
MD
ENEL  :  NAME_1 reiterates its Buy rating
01:21am
MD
Enel Posts Higher H1 Attributable Profit; Revenue Down
11:19pm
MT
Utilities Flat After Fed Policy Statement -- Utilities Roundup
Jul. 26
DJ
New Enel CEO in no rush on disposals after better than expected first half
Jul. 26
RE
"

and outputs a json like this:

[
	{
		"title": "Mib maglia rosa pushes Moncler after results",
		"hour_or_date": "06:12am",
	},
	{
		"title": "Spain's Endesa faces $1.8-billion claims in LNG contract disputes",
		"hour_or_date": "02:02am",
	},
	{
		"title": "ENEL  :  RBC reiterates its Buy rating",
		"hour_or_date": "01:25am",
	},
	{
		"title": "ENEL  :  NAME_1 reiterates its Buy rating",
		"hour_or_date": "01:21am",
	},
	{
		"title": "Enel Posts Higher H1 Attributable Profit; Revenue Down",
		"hour_or_date": "11:19pm",
	},
	{
		"title": "Utilities Flat After Fed Policy Statement -- Utilities Roundup",
		"hour_or_date": "Jul. 26",
	},
	{
		"title": "New Enel CEO in no rush on disposals after better than expected first half",
		"hour_or_date": "Jul. 26",
	}
]

Note that this is only an example, and that the function must be generic and works on any text that is formatted as the one in the example.
Also don't use regular expressions.
 Limit your response to 150 words.
user