Well, how do I pro regex identify that I'm wanting to get the first closing of a tag ie I wanted to get hold of the first line of the li tag and soon after I wanted to make a foreach to go capturing line by line.
But I do not know how to do this ...
Here's an example of the regex in practice: link