Some regular expression help?
- by Rohan
Hey there. I'm trying to create a Regex javascript split, but I'm totally stuck. Here's my input:
9:30 pm
The user did action A.
10:30 pm
Welcome, user John Doe.
***This is a comment
11:30 am
This is some more input.
I want the output array after the split() to be (I've removed the \n for readability):
["9:30 pm The user did action A.",…