How would I go about separating each line of a textbox into an array? Here's of example of the kind of text I want to separate.

text, <b>text</b>, <i>text</i>, text, <br>
text, <b>text</b>, <i>text</i>, text, <br>
text, <b>text</b>, <i>text</i>, text, <br>