I have recently been presented with a problem.
Lets take the list
[ul=list1,list2,list3]
I am trying to figure out how to extract that list and turn it into a HTML ul.
Though, I don't think regex will be able to do something like this, I could be wrong.
Anyone with an ideas of how I could do this?

Edit: This list will be embedded in a text file with lots of other text so the issue isn't how I can parse just that list by itself, but how can I parse that list when its mixed in with other text.